pgsql: Prohibit identity columns on typed tables and partitions

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prohibit identity columns on typed tables and partitions
Date: 2017-12-08 17:26:59
Message-ID: E1eNMQN-0000JY-7a@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Prohibit identity columns on typed tables and partitions

Those cases currently crash and supporting them is more work then
originally thought, so we'll just prohibit these scenarios for now.

Author: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Reviewed-by: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
Reported-by: Мансур Галиев <gomer94(at)yandex(dot)ru>
Bug: #14866

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/005ac298b1bdc3e9bd19e5ee2bcf7e320ebe4130

Modified Files
--------------
src/backend/parser/parse_utilcmd.c | 13 +++++++++++++
src/test/regress/expected/identity.out | 12 ++++++++++++
src/test/regress/sql/identity.sql | 16 ++++++++++++++++
3 files changed, 41 insertions(+)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2017-12-08 23:43:21 Re: pgsql: Prohibit identity columns on typed tables and partitions
Previous Message Peter Eisentraut 2017-12-08 16:24:48 pgsql: Fix mistake in comment

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-12-08 17:42:49 Re: explain analyze output with parallel workers - question about meaning of information for explain.depesz.com
Previous Message Stephen Frost 2017-12-08 17:26:55 Re: Speeding up pg_upgrade