Re: [v9.3] writable foreign tables

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: [v9.3] writable foreign tables
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C208A4EF7A@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: [v9.3] writable foreign tables  (Alexander Korotkov <aekorotkov@gmail.com>)
Ответы Re: [v9.3] writable foreign tables  (Atri Sharma <atri.jiit@gmail.com>)
Список pgsql-hackers
Alexander Korotkov wrote:
> 2) You wrote that FDW can support or don't support write depending on
having corresponding functions.
> However it's likely some tables of same FDW could be writable while
another are not. I think we should
> have some mechanism for FDW telling whether particular table is
writable.

I think that this would best be handled by a table option,
if necessary.
That allows maximum flexibility for the design of the FDW.
In many cases it might be enough if the foreign data source
raises an error on a write request.

Yours,
Laurenz Albe



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: commit 1eb1dde049ccfffc42c80c2 broke make -j2
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Fix errcontext() function