how to get current database name in plpgsql function

From: Håkon Clausen <clausen(at)c2i(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: how to get current database name in plpgsql function
Date: 2002-06-12 14:27:54
Message-ID: 00b901c2121d$576e1960$24d2d5c1@templar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
Is it possible to get the name of the database I'm logged in to from
plpgsql?
e.g. a current_db function?

Håkon

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Lockhart 2002-06-12 14:31:34 Re: automatic time zone conversion
Previous Message Tom Burke 2002-06-12 14:04:54 Re: Updates are slow..