how to get current database name in plpgsql function

Started by Håkon Clausenalmost 24 years ago1 messagesgeneral
Jump to latest
#1Håkon Clausen
clausen@c2i.net

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