Re: Re: BUG #14718: unable to update table with identity column GENERATED ALWAYS

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Subject: Re: Re: BUG #14718: unable to update table with identity column GENERATED ALWAYS
Date: 2017-06-30 21:36:50
Message-ID: 20219.1498858610@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thomas Kellerer <spam_eater(at)gmx(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2017-07-01 04:08:02 Re: BUG #14718: unable to update table with identity column GENERATED ALWAYS
Previous Message Tom Lane 2017-06-30 21:30:28 Re: BUG #14724: Unable to revoke CREATE privileges on public schema