Name of current database : current_database « Postgre SQL « PostgreSQL






Name of current database


postgres=#
postgres=# -- System Information Functions
postgres=#
postgres=# -- name of current database
postgres=# select current_database() ;
 current_database
------------------
 postgres
(1 row)

postgres=#
postgres=#
           
       








Related examples in the same category