Re: Optimization for updating foreign tables in Postgres FDW

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Optimization for updating foreign tables in Postgres FDW
Дата
Msg-id 29868.1409148357@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Optimization for updating foreign tables in Postgres FDW  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Optimization for updating foreign tables in Postgres FDW
Список pgsql-hackers
I wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Hmm, I'm worried that may be an API contract violation.

> Indeed it is.  You could get away with it if you check the
> EXEC_FLAG_EXPLAIN_ONLY flag before doing anything with visible
> side-effects, but it's still pretty ugly.

Actually, there's another problem there.  What of UPDATE or DELETE with a
LIMIT clause, which is something that seems to be coming down the pike:
https://commitfest.postgresql.org/action/patch_view?id=1550
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: replication commands and log_statements
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [RFC, POC] Don't require a NBuffer sized PrivateRefCount array of local buffer pins