pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add note about how each partition's default value is treated, in
Date: Wed, 05 Feb 2020 05:07:15 +0000
Message-ID: <E1izCuB-0005tw-4u@gemulon.postgresql.org> (raw)

Add note about how each partition's default value is treated, into the doc.

Column defaults may be specified separately for each partition.
But INSERT via a partitioned table ignores those partition's default values.
The former is documented, but the latter restriction not.
This commit adds the note about that restriction into the document.

Back-patch to v10 where partitioning was introduced.

Author: Fujii Masao
Reviewed-by: Amit Langote
Discussion: https://postgr.es/m/CAHGQGwEs-59omrfGF7hOHz9iMME3RbKy5ny+iftDx3LHTEn9sA@mail.gmail.com

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1fb8976b9cdd28f2986d63118fe64c00f600c531

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 2 ++
1 file changed, 2 insertions(+)



view thread (4+ messages)

Message-ID: <E1izCuB-0005tw-4u@gemulon.postgresql.org>
Permalink:  ../E1izCuB-0005tw-4u@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1izCuB-0005tw-4u@gemulon.postgresql.org

 · 

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 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-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Add note about how each partition's default value is treated, in
  In-Reply-To: <E1izCuB-0005tw-4u@gemulon.postgresql.org>
  References: <E1izCuB-0005tw-4u@gemulon.postgresql.org>

* 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