Re: Odd oid-system-column handling in postgres_fdw
Вложения
В списке pgsql-hackers по дате отправления:
| От | Etsuro Fujita |
|---|---|
| Тема | Re: Odd oid-system-column handling in postgres_fdw |
| Дата | |
| Msg-id | 5703741A.9090402@lab.ntt.co.jp обсуждение |
| Ответ на | Odd oid-system-column handling in postgres_fdw (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>) |
| Ответы |
Re: Odd oid-system-column handling in postgres_fdw
Re: Odd oid-system-column handling in postgres_fdw |
| Список | pgsql-hackers |
On 2016/03/16 16:25, Etsuro Fujita wrote: > PG9.5 allows us to add an oid system column to foreign tables, using > ALTER FOREIGN TABLE SET WITH OIDS, but currently, that column reads as > zeroes in postgres_fdw. That seems to me like a bug. So, I'd like to > propose to fix that, by retrieving that column from the remote server > when requested. I'm attaching a proposed patch for that. I rebased the patch against HEAD. Updated patch attached. I don't think this is a 9.6 issue, but I think this is somewhat related to the 9.6 issue [1] that postgres_fdw join pushdown incorrectly retrieves system columns other than ctid and oid from the remote server, so ISTM that it's better to address this in conjunction with [1]. Best regards, Etsuro Fujita [1] http://www.postgresql.org/message-id/57035DFC.3050802@lab.ntt.co.jp
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера