Re: pg_dump roles support

Поиск
Список
Период
Сортировка
От Benedek László
Тема Re: pg_dump roles support
Дата
Msg-id 48F04B7C.3080303@benedekl.tvnetwork.hu
обсуждение исходный текст
Ответ на Re: pg_dump roles support  (Benedek László <laci@benedekl.tvnetwork.hu>)
Ответы Re: pg_dump roles support  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Hello All,

in my last mail
http://www.mail-archive.com/pgsql-hackers@postgresql.org/msg114835.html
I have sent you a patch of pg_dump and pg_dumpall --role option support.
Nobody replied
or commented jet so now I send it again. The attached patch is the same
as the last one,
except it is against the current upstream HEAD.

The patch contains the following things:


- pg_dump and pg_dumpall accepts the --role=rolename parameter, and
sends a SET ROLE

command on their connections
- pg_dumpall passes this option to the called pg_dump process
- pg_dump emits the SET ROLE command into the archive
- sgml documentation of this feature


Summary:

  doc/src/sgml/ref/pg_dump.sgml        |   16 ++++++++++
  doc/src/sgml/ref/pg_dumpall.sgml     |   27 +++++++++++++----
  src/bin/pg_dump/pg_backup.h          |    2 +
  src/bin/pg_dump/pg_backup_archiver.c |   38 +++++++++++++++++++++--
  src/bin/pg_dump/pg_dump.c            |   55
+++++++++++++++++++++++++++++++++-
  src/bin/pg_dump/pg_dumpall.c         |   26 +++++++++++++++-
  6 files changed, 153 insertions(+), 11 deletions(-)

Thank you, best regards:
Laszlo Benedek


Вложения

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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: patch: array_ndims
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: contrib/pg_stat_statements