Difference between revisions of "Pg database"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* <code>pg_database</code>
 
* <code>pg_database</code>
  
  SELECT datname FROM pg database;
+
  SELECT datname FROM pg_database;
  
  

Revision as of 14:20, 27 September 2024

  • pg_database
SELECT datname FROM pg_database;


SELECT datname FROM pg_database WHERE datistemplate = false;
 datname
----------
 postgres
(1 row)


Related terms

See also

Advertising: