proposal: pg_restore --convert-to-text

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема proposal: pg_restore --convert-to-text
Дата
Msg-id 87sgwrmhdv.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответы Re: proposal: pg_restore --convert-to-text
Список pgsql-hackers
One of the remarkably common user errors with pg_restore is users
leaving off the -d option. (We get cases of it regularly on the IRC
channel, including one just now which prompted me to finally propose
this)

I propose we add a new option: --convert-to-text or some such name, and
then make pg_restore throw a usage error if neither -d nor the new
option is given.

Opinions?

(Yes, it will break the scripts of anyone who is currently scripting
pg_restore to output SQL text. How many people do that?)

-- 
Andrew (irc:RhodiumToad)


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