Re: .psqlrc output for \pset commands - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: .psqlrc output for \pset commands
Date
Msg-id 200807200608.m6K68vd03139@momjian.us
Whole thread Raw
In response to Re: .psqlrc output for \pset commands  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:
> Am Thursday, 17. July 2008 schrieb Bruce Momjian:
> 
> > > 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.
> 
> The psqlrc file must be read before the welcome message is printed, so that 
> you can disable the welcome message in the psqlrc file.  Otherwise we are 
> reopening the whole issue of when and whether to print a welcome message that 
> we had just settled.

Oh, yea, sorry.  Reverted.

--  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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Getting to universal binaries for Darwin
Next
From: Peter Eisentraut
Date:
Subject: Re: Getting to universal binaries for Darwin