Re: Version number in psql banner

Michael Fuhr <mike@fuhr.org>

From: Michael Fuhr <mike@fuhr.org>
To: "Jim C. Nasby" <jnasby@pervasive.com>
Cc: Simon Riggs <simon@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>, Darcy Buskermolen <darcy@wavefire.com>, pgsql-hackers@postgresql.org, Peter Eisentraut <peter_e@gmx.net>
Date: 2005-09-02T05:03:47Z
Lists: pgsql-hackers
On Thu, Sep 01, 2005 at 11:34:37PM -0500, Jim C. Nasby wrote:
> As a side note, there's a typo in \?:
> 
>   \c[onnect] [DBNAME|- [USER]]
> 
> Note the | where there should be a ].

Eh?  Looks right to me; the | indicates an alternate, i.e., that
you can use either DBNAME or -.  I often use - to connect to the
same database as a different user.

test=> \c - postgres
You are now connected as new user "postgres".
test=# 

-- 
Michael Fuhr