From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Declarative Range Partitioning Postgres 11
Date: Mon, 7 Oct 2019 18:56:20 -0500
Message-ID: <28854683-c0d9-1e33-7ae1-ddf51c58148a@gmail.com> (raw)
In-Reply-To: <CAHOFxGpDfTH9JqsBirWXCBnGQjmUX-_BbdZi0nKod4HpdCmEEg@mail.gmail.com>
References: <F2F23E564EB92A4C80228EB86713BA130BD969@TO1RODC.nbspaymentsolutions.com>
<CAHOFxGpDfTH9JqsBirWXCBnGQjmUX-_BbdZi0nKod4HpdCmEEg@mail.gmail.com>
On 10/7/19 6:17 PM, Michael Lewis wrote:
> No, what you want is not possible and probably won't ever be I would expect.
Sure it is. Maybe not the (weird) way that Postgres does partitioning, but
the legacy RDBMS that I still occasionally maintain has for at least 25
years had partition key independent of any indexes.
> Scanning every partition to validate the primary key isn't scalable.
That's only because of the way Pg implements partitioning.
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Declarative Range Partitioning Postgres 11
In-Reply-To: <28854683-c0d9-1e33-7ae1-ddf51c58148a@gmail.com>
References: <F2F23E564EB92A4C80228EB86713BA130BD969@TO1RODC.nbspaymentsolutions.com> <CAHOFxGpDfTH9JqsBirWXCBnGQjmUX-_BbdZi0nKod4HpdCmEEg@mail.gmail.com> <28854683-c0d9-1e33-7ae1-ddf51c58148a@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox