Fix bug in handling of dropped columns in pltcl triggers

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Fix bug in handling of dropped columns in pltcl triggers
Дата
Msg-id b2de8258-c4c0-1cb8-7b97-e8538e5c975c@BlueTreble.com
обсуждение исходный текст
Ответы Re: Fix bug in handling of dropped columns in pltcl triggers
Список pgsql-hackers
While reviewing code coverage in pltcl, I uncovered a bug in trigger
function return handling. If you returned the munged name of a dropped
column, that would silently be ignored. It would be unusual to hit this,
since dropped columns end up with names like
".......pg.dropped.2.......", but since that's still a legitimate name
for a column silently ignoring it seems rather bogus.

Work sponsored by FlightAware.

https://github.com/postgres/postgres/compare/master...decibel:tcl_dropped
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)   mobile: 512-569-9461

Вложения

В списке pgsql-hackers по дате отправления: