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

Reply via email to