Re: [PATCH] Add --create-only option to pg_dump/pg_dumpall

Поиск
Список
Период
Сортировка
От Cary Huang
Тема Re: [PATCH] Add --create-only option to pg_dump/pg_dumpall
Дата
Msg-id 161704074015.1180.15614499301846689907.pgcf@coridan.postgresql.org
обсуждение исходный текст
Ответы Re: [PATCH] Add --create-only option to pg_dump/pg_dumpall  (Michael Banck <michael.banck@credativ.de>)
Список pgsql-hackers
The following review has been posted through the commitfest application:
make installcheck-world:  tested, passed
Implements feature:       tested, passed
Spec compliant:           tested, passed
Documentation:            not tested

Hi

I have tried the patch and the new option is able to control the contents of pg_dump outputs to include only create db
relatedcommands. I also agree that the option name is a little misleading to the user so I would suggest instead of
using"create-only", you can say something maybe like "createdb-only" because this option only applies to CREATE
DATABASErelated commands, not CREATE TABLE or other objects. In the help menu, you can then elaborate more that this
option"dump only the commands related to create database like ALTER, GRANT..etc"
 

Cary Huang
-------------
HighGo Software Inc. (Canada)
cary.huang@highgo.ca
www.highgo.ca

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

Предыдущее
От: "Joel Jacobson"
Дата:
Сообщение: Re: Idea: Avoid JOINs by using path expressions to follow FKs
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Merging statistics from children instead of re-sampling everything