Re: Option to dump foreign data in pg_dump

Поиск
Список
Период
Сортировка
Искать
От
Luis Carril
Тема
Re: Option to dump foreign data in pg_dump
Дата
Msg-id
LEJPR01MB0185EB194B0F4061E2B008F9E7F20@LEJPR01MB0185.DEUPRD01.PROD.OUTLOOK.DE
Ответ на
Список
Дерево обсуждения
Re: Option to dump foreign data in pg_dump Luis Carril <luis.carril@swarm64.com>
Re: Option to dump foreign data in pg_dump Surafel Temesgen <surafel3000@gmail.com>
Re: Option to dump foreign data in pg_dump vignesh C <vignesh21@gmail.com>
Re: Option to dump foreign data in pg_dump vignesh C <vignesh21@gmail.com>
Re: Option to dump foreign data in pg_dump Luis Carril <luis.carril@swarm64.com>
Re: Option to dump foreign data in pg_dump Surafel Temesgen <surafel3000@gmail.com>
Re: Option to dump foreign data in pg_dump Luis Carril <luis.carril@swarm64.com>

> > On 28 Jun 2019, at 19:55, Luis Carril <luis.carril@swarm64.com> wrote:
> > What about providing a list of FDW servers instead of an all or nothing option? In that way the user really has to do a conscious decision to dump the content of the foreign tables for > > a specific server, this would allow distinction if multiple FDW are being used in the same DB.

> I think this is a good option, the normal exclusion rules can then still apply
> in case not everything from a specific server is of interest.

Hi, here  is a new patch to dump the data of foreign tables using pg_dump.
This time the user specifies for which foreign servers the data will be dumped, which helps in case of having a mix of writeable and non-writeable fdw in the database.
It would be nice to emit an error if the fdw is read-only, but that information is not available in the catalog.

Cheers
Luis M Carril
В списке pgsql-hackers по дате отправления
От: Fabien COELHO
Дата:
FAQ