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  (Euler Taveira <euler@timbira.com.br>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Using POPCNT and other advanced bit manipulation instructions
Следующее
От: James Sewell
Дата:
Сообщение: Re: Reaping Temp tables to avoid XID wraparound