pg_dbname

(PHP 3, PHP 4, PHP 5)

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

説明

string pg_dbname ( resource connection )

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