Re: Triggers on foreign tables

Поиск
Список
Период
Сортировка
От Kohei KaiGai
Тема Re: Triggers on foreign tables
Дата
Msg-id CADyhKSXnoPPgEz51k=n-4Oa3WGo9qAxLO+_XN2YYD5WsSGP2FQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Triggers on foreign tables  (Jim Nasby <jim@nasby.net>)
Список pgsql-hackers
> What happens if someone changes the record on the foreign side between when
> we've read it and we do the UPDATE?
>
Concurrency control is job of FDW driver. It has to coordinate access to
the records to be fetched for update / delete.
In fact, postgres_fdw add "FOR UPDATE" to avoid concurrent update
when it issues 1st-stage query to remote server.

Thanks,
-- 
KaiGai Kohei <kaigai@kaigai.gr.jp>



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Patch: FORCE_NULL option for copy COPY in CSV mode
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: pg_system_identifier()