database name.

From: Limin Liu <limin(at)pumpkinnet(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: database name.
Date: 2000-11-07 00:48:35
Message-ID: 3A075163.12514676@pumpkinnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I am new in PostgreSQL and have a simple question:
Is there any way we can find out which db the current client is working
with?

In psql, the prompt tells us the current open db, but I may need to
access that information in a C client on the fly with may db opened. I
wonder if this is possible?

Thanks in advance.

Limin Liu

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tatsuo Ishii 2000-11-07 01:18:48 Re: Redundant PostgreSQL Servers
Previous Message Sandeep Joshi 2000-11-07 00:16:14 embedded