pg.ddx.io pgsql-hackers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
To: David Fetter <david@fetter.org>
Cc: Simon Riggs <simon@2ndQuadrant.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Declarative partitioning
Date: Fri, 21 Aug 2015 14:52:08 +0900
Message-ID: <55D6BC88.4010101@lab.ntt.co.jp> (raw)
In-Reply-To: <20150820212700.GC8691@fetter.org>
References: <55D3093C.5010800@lab.ntt.co.jp>
<CANP8+j+FqaepassKVpQtG_KU_XqFka8grZYULyT7yuYdgz++2w@mail.gmail.com>
<55D53885.7070608@lab.ntt.co.jp>
<20150820212700.GC8691@fetter.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 2015-08-21 AM 06:27, David Fetter wrote:
>> By the last sentence, do you mean only UPDATEs to the partition key that
>> cause rows to jump partitions or simply any UPDATEs to the partition key?
>
> I don't know what Simon had in mind, but it seems to me that we have
> the following in descending order of convenience to users, and I
> presume, descending order of difficulty of implementation:
>
> 1. Updates propagate transparently, moving rows between partitions if needed.
>
> 2. Updates fail only if the change to a partition key would cause the
> row to have to move to another partition.
>
> 3. All updates to the partition key fail.
>
I was thinking I'd implement 2.
There was some discussion last year[1] about how 1 could be realized.
Thanks,
Amit
[1]
http://www.postgresql.org/message-id/20140829172216.GF10109@awork2.anarazel.de
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (161+ messages) latest in thread
Message-ID: <55D6BC88.4010101@lab.ntt.co.jp> Permalink: ../55D6BC88.4010101@lab.ntt.co.jp/ Also on: postgresql.org/message-id/55D6BC88.4010101@lab.ntt.co.jp ·
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-hackers@postgresql.org Cc: Langote_Amit_f8@lab.ntt.co.jp, david@fetter.org, simon@2ndQuadrant.com Subject: Re: Declarative partitioning In-Reply-To: <55D6BC88.4010101@lab.ntt.co.jp> * 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