From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: psql 8.4 \c repeats version banner |
Date: | 2009-12-28 17:21:03 |
Message-ID: | 12208.1262020863@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> In 8.3, running \c from a file prints something like
> You are now connected to database "postgres".
> In 8.4 it prints
> psql (8.4.1)
> You are now connected to database "postgres".
> Is it intentional/sensible to repeat the startup banner every time the
> connection changes, or was this unintentionally introduced while the
> startup banner was reshuffled in 8.4?
I think the argument was that if you are connecting to a new server, the
server version number could change, and so it is useful to repeat that
line to have a place to display the possible version mismatch indicator.
Maybe we could suppress it if the third and fourth arguments are
omitted, but I'm not sure it's worth the trouble.
The original design didn't have the third and fourth arguments, hence no
possibility of server change.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2009-12-28 17:54:33 | Serializable implementation |
Previous Message | Tom Lane | 2009-12-28 17:10:29 | Re: [PATCH] Provide rowcount for utility SELECTs |