From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: christoph.berg@credativ.de
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15238: Sequence owner not updated when owning table is foreign
Date: Thu, 14 Jun 2018 23:40:01 -0400
Message-ID: <20180615034001.lgsbilj7pqczofj7@alvherre.pgsql> (raw)
In-Reply-To: <e3cf9eb8-add9-f523-b3f8-de657e091a14@2ndquadrant.com>
On 2018-Jun-14, Peter Eisentraut wrote:
> Also, can partitioned tables have serial columns? Are there more omissions?
You're right, this is wrong for partitioned tables too.
create table part (a serial) partition by range (a);
create table part2 partition of part for values from (1) to (1000);
create user foo;
alter table part owner to foo;
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, peter.eisentraut@2ndquadrant.com, christoph.berg@credativ.de
Subject: Re: BUG #15238: Sequence owner not updated when owning table is foreign
In-Reply-To: <20180615034001.lgsbilj7pqczofj7@alvherre.pgsql>
References: <e3cf9eb8-add9-f523-b3f8-de657e091a14@2ndquadrant.com> <20180615034001.lgsbilj7pqczofj7@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