pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Keith Fiske <keith.fiske@crunchydata.com>
Cc: Jorge Torralba <jorge.torralba@gmail.com>
Cc: legrand_legrand@hotmail.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Is there a work around for partition key needed for constraint
Date: Thu, 25 Oct 2018 10:59:31 -0300
Message-ID: <20181025135931.jbo5gnfyd5aliwhu@alvherre.pgsql> (raw)
In-Reply-To: <CAODZiv7+Hf+b+W0Q34=j1W6HwbAOkxzxGoc5HDS9HB8OVva65w@mail.gmail.com>

On 2018-Oct-24, Keith Fiske wrote:

> The real solution will have to wait on a global index in a future version.

Actually, there might be another way to implement it, namely to use the
speculative tokens on every affected local btree, then do the actual
insert in the correct index, then remove the unused speculative tokens
from all the other indexes.  Then you don't need a global tree at all.

I'm not planning to work on this, and haven't heard that anyone is.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (10+ messages)  latest in thread

Message-ID: <20181025135931.jbo5gnfyd5aliwhu@alvherre.pgsql>
Permalink:  ../20181025135931.jbo5gnfyd5aliwhu@alvherre.pgsql/
Also on:    postgresql.org/message-id/20181025135931.jbo5gnfyd5aliwhu@alvherre.pgsql

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@2ndquadrant.com, keith.fiske@crunchydata.com, jorge.torralba@gmail.com, legrand_legrand@hotmail.com
  Subject: Re: Is there a work around for partition key needed for constraint
  In-Reply-To: <20181025135931.jbo5gnfyd5aliwhu@alvherre.pgsql>

* 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