pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ow <oneway_111@yahoo.com>
To: Achilleus Mantzios <achill@matrix.gatewaynet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: SET database TO ...?
Date: Mon, 15 Sep 2003 08:33:48 -0700 (PDT)
Message-ID: <20030915153348.78123.qmail@web21401.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0309151807120.18458-100000@matrix.gatewaynet.com>

--- Achilleus Mantzios <achill@matrix.gatewaynet.com> wrote:
[...]
> dynacom=# \c bab
> You are now connected to database bab.
> bab=# 

I'm actually looking for a way to set database from a *script*, not psql
console, if this is possible (similar to "SET search_path TO whatever;").

Any ideas? Thanks









__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



view thread (5+ messages)  latest in thread

Message-ID: <20030915153348.78123.qmail@web21401.mail.yahoo.com>
Permalink:  ../20030915153348.78123.qmail@web21401.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030915153348.78123.qmail@web21401.mail.yahoo.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: oneway_111@yahoo.com, achill@matrix.gatewaynet.com
  Subject: Re: SET database TO ...?
  In-Reply-To: <20030915153348.78123.qmail@web21401.mail.yahoo.com>

* 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