Writable FDW: returning clauses.

Поиск
Список
Период
Сортировка
От Ronan Dunklau
Тема Writable FDW: returning clauses.
Дата
Msg-id 1998900.iCqX4bAbQN@ropc
обсуждение исходный текст
Ответы Re: Writable FDW: returning clauses.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello.

While implementing the new writable API for FDWs, I wondered wether they 
are any obvious problems with the following behavior for handling returning 
clauses (for the delete case).

The goal is to fetch all required attributes during the initial scan, and 
avoid fetching data on the delete operation itself.

- in the AddForeignUpdateTargets hook, add resjunk entries for the columns in 
the returning clause
- in the ExecForeignDelete hook, fill the returned slot with values taken from 
the planSlot.


--
Ronan Dunklau

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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Identity projection
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: backward incompatible pg_basebackup and pg_receivexlog