Re: Syntax question

From: Andrew Biagioni <andrew(dot)biagioni(at)e-greek(dot)net>
To: Jeff Stout <jstout(at)cctus(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Syntax question
Date: 2004-06-07 22:28:39
Message-ID: 40C4EC17.4060208@e-greek.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jeff,

you need to look under "\?" (psql commands), not "\h" (SQL commands).

Anyway, what you need is:

\c[onnect] [DBNAME|- [USER]]
connect to new database (currently "[...]")

Jeff Stout wrote:

> I am fairly new to postgres, I need to know how to switch
> databases once I'm in a psql session. I can't seem to find the
> command for \h , maybe I just blind |-;
>
> Thank you in advance
>
> Jeff Stout
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Adi Alurkar 2004-06-08 00:01:09 out of memory error
Previous Message Andrew Biagioni 2004-06-07 22:26:47 Re: E-R Tool