From: Andrew Biagioni <andrew.biagioni@e-greek.net>
To: Jeff Stout <jstout@cctus.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Syntax question
Date: Mon, 07 Jun 2004 18:28:39 -0400
Message-ID: <40C4EC17.4060208@e-greek.net> (raw)
In-Reply-To: <DKEOLMMDNDLJFHJODEJJOEMKCCAA.jstout@cctus.com>
References: <DKEOLMMDNDLJFHJODEJJOEMKCCAA.jstout@cctus.com>
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
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: andrew.biagioni@e-greek.net, jstout@cctus.com
Subject: Re: Syntax question
In-Reply-To: <40C4EC17.4060208@e-greek.net>
References: <DKEOLMMDNDLJFHJODEJJOEMKCCAA.jstout@cctus.com> <40C4EC17.4060208@e-greek.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox