Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGtU8-0000xE-Vy for pgsql-general@arkaria.postgresql.org; Wed, 17 Apr 2019 22:56:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hGtU7-000278-Oa for pgsql-general@arkaria.postgresql.org; Wed, 17 Apr 2019 22:56:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGtU7-000271-Ef for pgsql-general@lists.postgresql.org; Wed, 17 Apr 2019 22:56:55 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGtU4-0001Ro-CS for pgsql-general@lists.postgresql.org; Wed, 17 Apr 2019 22:56:54 +0000 Received: by mail-qt1-x841.google.com with SMTP id k14so243024qtb.0 for ; Wed, 17 Apr 2019 15:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=r1pRWh0m5BpbsSJmdKa81O+kkoxVgX4m6ggAMY1ULVA=; b=YXyrl9IHdbG6W4vPwdqtiQL/omMXSfAoNUmeB6QIjDtHgtVZf8NZwj2joYf8bAVkxf snM0YDEd+zCyhE+NKNyK3RFfEx/pINIoX4vN+mSTzlsVe5LkCvduIuywSTWA+Fs7NcvS FkPT7+Dq2DuByrdIQDQDkJZAkWctvaYt62OiXb4G0pPOk3F7HFiA+dbMu6v/QQgtylHk 8CH4W85QFCNlTmi6/4PNMVk8sggaL9gexo2WSf6ZhG9sDM9AVWqRgj9zR7Co9rySpBIY 438bYnVKyrttK2XBUT8kme5s+NvsZSJ9NJKupnRF5tY4XeOS9ie+IEAOnycrHWjNhcL5 k2PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=r1pRWh0m5BpbsSJmdKa81O+kkoxVgX4m6ggAMY1ULVA=; b=pnKh76/7bWIEpL/pLNul8OAJWXjMkdnKFsUJJ+axMWKt4NPS33CWpYR+w1EHruuIO/ ZCfiY7NSifxMAZ2xA/EkpOY/MJUALQongcwQI1t/MY0T3qmFs0l/Pcw2/Ak5w4ek5PnU sPXpCMtll7AKIhEOBJHup+k5yVITAyo58w/rbpEn3OwnOzbLj3NMZ5T2vSSnup7VHKoW Jl6zclY9SIo1/FHf91f8I6YHhR7HqXdLReiv+AoY0DJxAfLaeUIsmR4PZTXThPikemHK ZQPFMDIaCsrII+0cwugQOzXDI68HWdsAC79XE5xgiFYe4rCMUJ/a50FoDyWeL+n6Z6oo xHRA== X-Gm-Message-State: APjAAAXxJ5/tGgwDtcmyimznfuFqMGYV63rtuDywN3l2svs/tEsqAF01 BJ4zZI2NkaWIdhZJTRfy4cEn2wnrU3Y= X-Google-Smtp-Source: APXvYqwPOTIbI8XzAfwlHwQAfxUPbWx7FzTDeIejqbPXveDEAcoUxSHdL2wrgBG0AfL0OA2JD5CAQg== X-Received: by 2002:ac8:378d:: with SMTP id d13mr69185799qtc.99.1555541811033; Wed, 17 Apr 2019 15:56:51 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id x8sm183403qtj.45.2019.04.17.15.56.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Apr 2019 15:56:50 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 0DA2F120B16; Wed, 17 Apr 2019 18:56:48 -0400 (-04) Date: Wed, 17 Apr 2019 18:56:48 -0400 From: Alvaro Herrera To: pabloa98 Cc: pgsql-general@lists.postgresql.org Subject: Re: is it possible to create partitioned tables using tables from different schemas Message-ID: <20190417225648.GA2004@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Note that unless you regularly query for only-manually-inserted or only-automatically-inserted data, this will be useless and will make queries more expensive, with no upside. Generally speaking, it's not a problem to put partitions in different schemas. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services