Re: pg_restore remap schema

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: pg_restore remap schema
Дата
Msg-id CAECtzeVznWO98VQyxN8KH24LOcx8UtxoqtLEoKiaowzDnDJ1MA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_restore remap schema  (Fabrice Chapuis <fabrice636861@gmail.com>)
Ответы Re: pg_restore remap schema  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,

Le mer. 16 nov. 2022 à 13:08, Fabrice Chapuis <fabrice636861@gmail.com> a écrit :
Hi,
I worked on the pg_dump source code to add remap schema functionality to use it internally where I work. This is a first version that allows to remap tables, views and sequences (only to export schema). Is this development likely to interest the PG community and to continue this development further?


If it doesn't work on functions, that will be a big issue. And to be honest, I don't think you can do it reliably on functions, especially with dynamic queries in PL/pgsql.

Though it would still be interesting to see your patch.


--
Guillaume.

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: unrecognized node type: 350
Следующее
От: shashidhar Reddy
Дата:
Сообщение: Re: unrecognized node type: 350