PHP. Руководство по PHP. 2005
pg_dbname
pg_dbname
Описание
string pg_dbname ([resource connection])pg_dbname() returns the name of the database
that the given PostgreSQL connection
resource.
Список параметров
- connection
-
PostgreSQL database connection resource. When
connection is not present, the default connection
is used. The default connection is the last connection made by
Возвращаемые значения
A string containing the name of the database the
connection is to, or FALSE on error.