Re: pg_dump new feature: exporting functions only. Bad or good idea ?

Поиск
Список
Период
Сортировка
От Lætitia Avrot
Тема Re: pg_dump new feature: exporting functions only. Bad or good idea ?
Дата
Msg-id CAB_COdig4R8bRE_8mD=JxyCxgWY5=fk=QCcyTPtNwG+LQ31O_Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_dump new feature: exporting functions only. Bad or good idea ?  (Ryan Lambert <ryan@rustprooflabs.com>)
Ответы Re: pg_dump new feature: exporting functions only. Bad or good idea ?  (ahsan hadi <ahsan.hadi@gmail.com>)
Список pgsql-hackers

Using --functions-only along with --table=<name> does not error out and warn the user, instead it creates a dump containing only the SET commands.  An error similar to using --functions-only along with --data-only seems like a good idea.


Thank you for giving my patch a try.
I added the new if statement, so that the program will error should the `--functions-only` be used alongside the `--table` option.

The patch has been added to the next commifest.

Have a nice day,

Lætitia
Вложения

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

Предыдущее
От: "Joel Jacobson"
Дата:
Сообщение: Idea: Avoid JOINs by using path expressions to follow FKs
Следующее
От: Noah Misch
Дата:
Сообщение: Re: non-HOT update not looking at FSM for large tuple update