Re: BUG #17483: postgres_fdw used with text to_tsvector and custom search configuration
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #17483: postgres_fdw used with text to_tsvector and custom search configuration |
| Дата | |
| Msg-id | 466319.1658098780@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #17483: postgres_fdw used with text to_tsvector and custom search configuration (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-bugs |
I wrote:
> PG Bug reporting form <noreply@postgresql.org> writes:
>> I have an issue with the evaluation of to_tsvector and custom search
>> configuration through foreign data wrapper (from PG to PG).
> The other thing you're running into is that if the text search
> config isn't defined in the pg_catalog schema, it's not visible
> in the restricted search path that the remote session will use.
> The query shipped to the far end should handle that by writing
> "'public.custom_search'::regconfig", but it evidently doesn't ---
> that feels like a bug, indeed.
FYI, I've now pushed a fix for that problem; it'll be in the
August minor releases.
Also, beginning in v16, it'll be necessary to ensure that any
custom TS configuration you want to use this way belongs to
an extension that the foreign server considers "shippable"
(see postgres_fdw documentation). We won't enforce that in
existing branches, though.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера