Re: SET database TO ...? - Mailing list pgsql-sql

From A.Bhuvaneswaran
Subject Re: SET database TO ...?
Date
Msg-id Pine.LNX.4.44.0309152104150.18913-100000@Bhuvan.bksys.co.in
Whole thread Raw
In response to SET database TO ...?  (ow <oneway_111@yahoo.com>)
List pgsql-sql
> Suppose, one server/postmaster is running several databases. Is there
> something like "SET database TO whatever" (and I mean *database* not
> schema). I need this to ensure that a script runs only against db for
> which it was desinged.

You can use PG* environment variables if you wish to write seperate script
for each databases.

regards,
bhuvaneswaran



pgsql-sql by date:

Previous
From: Achilleus Mantzios
Date:
Subject: Re: SET database TO ...?
Next
From: ow
Date:
Subject: Re: SET database TO ...?