Thread: how to get current database name in plpgsql function

how to get current database name in plpgsql function

From
Håkon Clausen
Date:
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