| От | Etsuro Fujita |
|---|---|
| Тема | Re: A question about code in DefineRelation() |
| Дата | |
| Msg-id | 53706E0C.7040802@lab.ntt.co.jp обсуждение исходный текст |
| Ответ на | Re: A question about code in DefineRelation() (Hadi Moshayedi <hadi@moshayedi.net>) |
| Список | pgsql-hackers |
Hi Hadi, Sorry for the delay. (2014/04/25 22:39), Hadi Moshayedi wrote: > On second thought I noticed that that makes CREATE FOREIGN TABLE include > an OID column in newly-created foreign tables wrongly, when the > default_with_oids parameter is set to on. Please find attached a patch. > The fix makes sense to me, since in ALTER TABLE SET WITH OIDS we check > that the relation is a table and not a foreign table: > > 3160 case AT_AddOids:/* SET WITH OIDS */ > 3161 ATSimplePermissions(rel, ATT_TABLE); > > So, I think we should be consistent between DefineRelation() and alter > table. Thank you for the review. I added this to 2014-06 and marked it as "Ready for Committer". Best regards, Etsuro Fujita
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера