Re: The suppress_redundant_updates_trigger() works incorrectly
В списке pgsql-hackers по дате отправления:
| От | Andrew Dunstan |
|---|---|
| Тема | Re: The suppress_redundant_updates_trigger() works incorrectly |
| Дата | |
| Msg-id | 4911F0ED.1000008@dunslane.net обсуждение |
| Ответ на | Re: The suppress_redundant_updates_trigger() works incorrectly (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Tom Lane wrote: > I wrote: > >> Andrew Dunstan <andrew@dunslane.net> writes: >> >>> OK, that will be easy enough. I assume I should still put InvalidOid >>> back again afterwards, in case someone downstream relies on it. >>> > > >> Can't imagine what ... >> > > Actually ... what *could* change in the future is that we might support > UPDATE'ing the OID to a different value. So what the code probably > needs to do is something like > > if (relation->rd_rel->relhasoids && > !OidIsValid(HeapTupleGetOid(newtup))) > HeapTupleSetOid(newtup, HeapTupleGetOid(oldtup)); > > (details stolen from heap_update) > > > Your wish is my command. Done. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера