Re: IMPORT FOREIGN SCHEMA return create foreign table commands are those further filtered in LIMIT and EXCEPT cases?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: IMPORT FOREIGN SCHEMA return create foreign table commands are those further filtered in LIMIT and EXCEPT cases? |
| Дата | |
| Msg-id | 20855.1451594187@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | IMPORT FOREIGN SCHEMA return create foreign table commands are those further filtered in LIMIT and EXCEPT cases? ("Paragon Corporation" <lr@pcorp.us>) |
| Ответы |
Re: IMPORT FOREIGN SCHEMA return create foreign table commands are those further filtered in LIMIT and EXCEPT cases?
|
| Список | pgsql-hackers |
"Paragon Corporation" <lr@pcorp.us> writes: > I've implemented IMPORT FOREIGN SCHEMA support for an fdw called ogr_fdw > against the PostgreSQL 9.5RC1 code base. > Code is here: https://github.com/robe2/pgsql-ogr-fdw > It works great except in the Case of LIMIT TO clause (and possible EXCEPT > though I have to retest EXCEPT to see if there is a case it doesn't work). > In LIMIT case sometimes works and it sometimes doesn't and when it doesn't > no foreign tables are created. Case-folding issue, perhaps? Are you taking care to double-quote the table names in the generated CREATE FOREIGN TABLE statements? Because if you don't, they'll be smashed to lower case and then won't match the quoted table names in your example. regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера