Re: Version number in psql banner

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Darcy Buskermolen <darcy(at)wavefire(dot)com>, pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: Version number in psql banner
Date: 2005-09-02 05:03:47
Message-ID: 20050902050347.GA59734@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tino Wildenhain 2005-09-02 05:38:31 Re: typo? was: Version number in psql banner
Previous Message Jim C. Nasby 2005-09-02 04:34:37 Re: Version number in psql banner

Browse pgsql-patches by date

  From Date Subject
Next Message Tino Wildenhain 2005-09-02 05:38:31 Re: typo? was: Version number in psql banner
Previous Message Jim C. Nasby 2005-09-02 04:34:37 Re: Version number in psql banner