how to get current database name in plpgsql function - Mailing list pgsql-general

From Håkon Clausen
Subject how to get current database name in plpgsql function
Date
Msg-id 00b901c2121d$576e1960$24d2d5c1@templar
Whole thread Raw
List 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


 
 

pgsql-general by date:

Previous
From: "Tom Burke"
Date:
Subject: Re: Updates are slow..
Next
From: Thomas Lockhart
Date:
Subject: Re: automatic time zone conversion