pg_dbname

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

pg_dbname -- データベース名の取得

説明

string pg_dbname (resource connection)

指定したPostgreSQL接続IDが接続しているデータベースの名前を返しま す。connectionが有効な接続IDでない場合はFALSEを返します。