What does the option psql -l of PostgreSQL display?

Questions by RajivPrasad   answers by RajivPrasad

Showing Answers 1 - 9 of 9 Answers

Sivakumar

  • Feb 23rd, 2007
 

It will display the databases that are currently available in the server.
EXample:

-bash-2.05b$ psql -l
        List of databases
   Name    |  Owner   | Encoding
-----------+----------+----------
 appvoip   | postgres | UTF8
 barthi    | postgres | UTF8
 bsnl      | postgres | UTF8
 postgres  | postgres | UTF8
 template0 | postgres | UTF8
 template1 | postgres | UTF8
 test1     | postgres | UTF8
 voip      | postgres | UTF8
(8 rows)
- Sivakumar

  Was this answer useful?  Yes

parth

  • Aug 15th, 2017
 

List all Databases

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions