On Thu, Apr 05, 2007 at 08:51:28AM -0400, Woody Woodring wrote:
> Is there a sql command to print out which database I am connected to?

SELECT current_database();

See "System Information Functions" in the documentation for other
such functions.

http://www.postgresql.org/docs/8.2/interactive/functions-info.html

-- 
Michael Fuhr

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to