Re: BUG #15833: defining a comment on a domain constraint fails withwrong OID
В списке pgsql-bugs по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: BUG #15833: defining a comment on a domain constraint fails withwrong OID |
| Дата | |
| Msg-id | 20190612045152.GA3918@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: BUG #15833: defining a comment on a domain constraint fails withwrong OID (Michael Paquier <michael@paquier.xyz>) |
| Список | pgsql-bugs |
On 2019-Jun-12, Michael Paquier wrote: > On Tue, Jun 11, 2019 at 09:32:55AM -0400, Alvaro Herrera wrote: > > Yeah, looks better. I think the error message should be a normal elog() > > cache failure, though ... at least in the COMMENT case, the obj-does-not- > > exist message is supposed to be thrown by get_object_address(), before > > check_object_ownership is called. > > > > As a matter of style, I would get rid of the 'conoid' variable and just > > use address.objectId where needed. > > OK. I have included both your comments, and committed the patch down > to 9.5 where it applies. Thanks for the feedback! Thanks for fixing :-) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера