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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] Re: BUG #14718: unable to update table with identity column GENERATED ALWAYS
Дата
Msg-id 20219.1498858610@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [BUGS] Re: BUG #14718: unable to update table with identity column GENERATEDALWAYS  (Thomas Kellerer <spam_eater@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14724: Unable to revoke CREATE privileges on public schema
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [BUGS] BUG #14718: unable to update table with identity columnGENERATED ALWAYS