Re: How to determine current database? - Mailing list pgsql-general

From Joe Conway
Subject Re: How to determine current database?
Date
Msg-id 402D62E9.6020708@joeconway.com
Whole thread Raw
In response to How to determine current database?  (Ron St-Pierre <rstpierre@syscor.com>)
List pgsql-general
Ron St-Pierre wrote:

> I am using postgres 7.3.4 and need to be able to determine which
> database a query is being run in (from a script). pg_database lists
> databases but doesn't tell me which one is currently active.

See:
http://www.postgresql.org/docs/7.3/static/functions-misc.html

HTH,

Joe

pgsql-general by date:

Previous
From: Ron St-Pierre
Date:
Subject: How to determine current database?
Next
From: Eric Ridge
Date:
Subject: Re: How to determine current database?