Re: postgre Databases

From: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: postgre Databases
Date: 2003-07-01 07:57:01
Message-ID: Pine.LNX.4.44.0307011053220.1804-100000@emo.org.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


Hi,

On Tue, 1 Jul 2003, Haydar Haydar wrote:

> Postgre is running but have I forget my database name and now i can not
> connect to the database.Is it possible to get all database names.

Connect to PostgreSQL with psql

psql template1 -U postgres

Then enter \l command:

proftpd=# \l
List of databases
Name | Owner | Encoding
-----------------+----------+-----------
ankara2003 | postgres | SQL_ASCII
....

\l will list all databases.

Regards,
--
Devrim GUNDUZ
devrim(at)gunduz(dot)org devrim(dot)gunduz(at)linux(dot)org(dot)tr
http://www.tdmsoft.com
http://www.gunduz.org

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Haydar Haydar 2003-07-01 10:07:13 Re: postgre Databases
Previous Message Haydar Haydar 2003-07-01 07:52:39 postgre Databases