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

From Andres Freund
Subject Re: [BUGS] BUG #14718: unable to update table with identity columnGENERATED ALWAYS
Date
Msg-id 20170630210629.w56gxyfevvnq5eei@alap3.anarazel.de
Whole thread Raw
In response to Re: [BUGS] BUG #14718: unable to update table with identity columnGENERATED ALWAYS  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-bugs
On 2017-06-30 17:03:22 -0400, Peter Eisentraut wrote:
> On 6/26/17 15:22, zam6ak@gmail.com wrote:
> > -- now try to update
> > update tbl1 set name = 'Bobby' where id = 1;
> > 
> > ERROR:  column "id" can only be updated to DEFAULT
> > DETAIL:  Column "id" is an identity column defined as GENERATED ALWAYS.
> 
> This is working as expected.  What is the problem?

"id" is not being updated in that statement?

- Andres


-- 
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: Peter Eisentraut
Date:
Subject: Re: [BUGS] BUG #14718: unable to update table with identity columnGENERATED ALWAYS
Next
From: Thomas Kellerer
Date:
Subject: [BUGS] Re: BUG #14718: unable to update table with identity column GENERATEDALWAYS