Re: Change or get currentdb

From: David Olbersen <dave(at)slickness(dot)org>
To: Sergiy Ovcharuk <Sergey(dot)Ovcharuk(at)tessart(dot)kiev(dot)ua>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Change or get currentdb
Date: 2001-01-25 20:13:54
Message-ID: Pine.LNX.4.31.0101251212320.17481-100000@bubbles.electricutopia.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>From \?
\c[onnect] [dbname|- [user]]
connect to new database (currently '<db you're in>')

so typing "\c" gives you the database you're currently connected to and
"\c <database>" would connect you to that database.

On Thu, 25 Jan 2001, Sergiy Ovcharuk wrote:

->How can I change and/or get to know a current db name using sql script in
->PostgreSQL?

-- Dave

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2001-01-25 20:43:24 Re: Don't want blank data
Previous Message Brett W. McCoy 2001-01-25 19:29:55 Re: Wild Cards