pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Olbersen <dave@slickness.org>
To: Sergiy Ovcharuk <Sergey.Ovcharuk@tessart.kiev.ua>
Cc: pgsql-sql@postgresql.org
Subject: Re: Change or get currentdb
Date: Thu, 25 Jan 2001 12:13:54 -0800 (PST)
Message-ID: <Pine.LNX.4.31.0101251212320.17481-100000@bubbles.electricutopia.net> (raw)
In-Reply-To: <94pru8$or1$1@news.lucky.net>

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




view thread (2+ messages)

Message-ID: <Pine.LNX.4.31.0101251212320.17481-100000@bubbles.electricutopia.net>
Permalink:  ../Pine.LNX.4.31.0101251212320.17481-100000@bubbles.electricutopia.net/
Also on:    postgresql.org/message-id/Pine.LNX.4.31.0101251212320.17481-100000@bubbles.electricutopia.net

 · 

reply

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-sql@postgresql.org
  Cc: dave@slickness.org, Sergey.Ovcharuk@tessart.kiev.ua
  Subject: Re: Change or get currentdb
  In-Reply-To: <Pine.LNX.4.31.0101251212320.17481-100000@bubbles.electricutopia.net>
  References: <94pru8$or1$1@news.lucky.net> <Pine.LNX.4.31.0101251212320.17481-100000@bubbles.electricutopia.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