Re: .psqlrc output for \pset commands
От | Bruce Momjian |
---|---|
Тема | Re: .psqlrc output for \pset commands |
Дата | |
Msg-id | 200807181720.m6IHKGi18912@momjian.us обсуждение исходный текст |
Ответ на | Re: .psqlrc output for \pset commands (Bruce Momjian <bruce@momjian.us>) |
Список | pgsql-hackers |
Bruce Momjian wrote: > > > $ psql test > > > --> Output format is wrapped. > > > psql (8.4devel) > > > Type "help" for help. > > > > > > Is this desirable? \set QUIET at the top of .psqlrc fixes it, but I am > > > wondering if we should be automatically doing quiet while .psqlrc is > > > processed. > > > > I was wondering about this myself, but I'm still not used to the new banner. > > It seems kind of... curt. Perhaps it should just be a single line instead of > > two lines both around 20 characters... > > > > Anyways the thing that struck me as odd was the messages appearing *before* > > the header. It seems to me the header should print followed by .psqlrc output > > followed by normal output. > > Do you like this better? > > $ psql test > psql (8.4devel) > Type "help" for help. > Output format is wrapped. > > test=> > > The attached patch accomplishes this. With no feedback, applied. ;-) -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-hackers по дате отправления: