Re: postgres_fdw vs data formatting GUCs (was Re: [v9.3] writable foreign tables)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres_fdw vs data formatting GUCs (was Re: [v9.3] writable foreign tables)
Дата
Msg-id 24082.1363114277@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgres_fdw vs data formatting GUCs (was Re: [v9.3] writable foreign tables)  (Daniel Farina <daniel@heroku.com>)
Ответы Re: postgres_fdw vs data formatting GUCs (was Re: [v9.3] writable foreign tables)  (Daniel Farina <daniel@heroku.com>)
Список pgsql-hackers
Daniel Farina <daniel@heroku.com> writes:
> Okay, I see.  So inverting the thinking I wrote earlier: how about
> hearkening carefully to any ParameterStatus messages on the local side
> before entering the inner loop of dblink.c:materializeResult as to set
> the local GUC (and carefully dropping it back off after
> materializeResult) so that the the _in functions can evaluate the
> input in the same relevant GUC context as the remote side?

Yeah, watching the remote side's datestyle and intervalstyle and
matching them (for both input and output) would probably work.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Daniel Farina
Дата:
Сообщение: Re: postgres_fdw vs data formatting GUCs (was Re: [v9.3] writable foreign tables)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Incorrect handling of timezones with extract