(PHP3 , PHP4 )
string pg_dbname (int connection)
string pg_dbname
Returns the name of the database that the given PostgreSQL connection index is connected to, or false if connection is not a valid connection index.