pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim GUNDUZ <devrim@gunduz.org>
To: pgsql-admin@postgresql.org
Subject: Re: postgre Databases
Date: Tue, 1 Jul 2003 10:57:01 +0300 (EEST)
Message-ID: <Pine.LNX.4.44.0307011053220.1804-100000@emo.org.tr> (raw)
In-Reply-To: <200307010752.h617qdQ16734@mailgate5.cinetic.de>


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@gunduz.org				devrim.gunduz@linux.org.tr 
			http://www.tdmsoft.com
			http://www.gunduz.org




view thread (4+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0307011053220.1804-100000@emo.org.tr>
Permalink:  ../Pine.LNX.4.44.0307011053220.1804-100000@emo.org.tr/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0307011053220.1804-100000@emo.org.tr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: devrim@gunduz.org
  Subject: Re: postgre Databases
  In-Reply-To: <Pine.LNX.4.44.0307011053220.1804-100000@emo.org.tr>
  References: <200307010752.h617qdQ16734@mailgate5.cinetic.de> <Pine.LNX.4.44.0307011053220.1804-100000@emo.org.tr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox