From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Gregory Stark <stark(at)enterprisedb(dot)com> |
Subject: | Re: .psqlrc output for \pset commands |
Date: | 2008-07-20 06:08:57 |
Message-ID: | 200807200608.m6K68vd03139@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2008-07-20 06:37:42 | Re: pg_dump additional options for performance |
Previous Message | Tom Lane | 2008-07-20 05:36:19 | Re: Getting to universal binaries for Darwin |