Re: [BUGS] Re: BUG #14718: unable to update table with identity column GENERATED ALWAYS - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] Re: BUG #14718: unable to update table with identity column GENERATED ALWAYS
Date
Msg-id 20219.1498858610@sss.pgh.pa.us
Whole thread Raw
In response to [BUGS] Re: BUG #14718: unable to update table with identity column GENERATEDALWAYS  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-bugs
Thomas Kellerer <spam_eater@gmx.net> writes:
> Peter Eisentraut schrieb am 30.06.2017 um 23:03:
>> This is working as expected.  What is the problem?

> I'd say the problem is, that the id column is NOT updated in that statement, only the name.

Yeah.  Looks to me like the code that was added to rewriteTargetListIU
for this did not quite understand the meaning of the "apply_default"
flag.
        regards, tom lane


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14724: Unable to revoke CREATE privileges on public schema
Next
From: Peter Eisentraut
Date:
Subject: Re: [BUGS] BUG #14718: unable to update table with identity columnGENERATED ALWAYS