X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 098A8310DB2 for ; Tue, 1 Jul 2003 20:03:10 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 16214-10 for ; Tue, 1 Jul 2003 17:02:57 -0300 (ADT) Received: from www.postgresql.com (www.postgresql.com [64.117.225.209]) by svr1.postgresql.org (Postfix) with ESMTP id 5DCA6310D04 for ; Tue, 1 Jul 2003 17:02:46 -0300 (ADT) Received: from irko.smoothcorp.com (unknown [208.49.241.41]) by www.postgresql.com (Postfix) with ESMTP id 171C4CF73D4 for ; Tue, 1 Jul 2003 12:26:54 -0300 (ADT) Received: from jgardner.ifloor.com ([10.0.1.63]) by irko.smoothcorp.com with esmtp (Exim 4.12) id 19XMyt-0003vQ-00; Tue, 01 Jul 2003 08:23:43 -0700 Received: from jgardner.ifloor.com (localhost.localdomain [127.0.0.1]) by jgardner.ifloor.com (8.12.8/8.12.8) with ESMTP id h61FNiHK032663; Tue, 1 Jul 2003 08:23:44 -0700 Received: from localhost (localhost [[UNIX: localhost]]) by jgardner.ifloor.com (8.12.8/8.12.8/Submit) id h61FNhPa032661; Tue, 1 Jul 2003 08:23:43 -0700 From: Jonathan Gardner To: Devrim GUNDUZ , pgsql-admin@postgresql.org Subject: Re: postgre Databases Date: Tue, 1 Jul 2003 08:23:41 -0700 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200307010823.42933.jgardner@jonathangardner.net> X-SA-Exim-Rcpt-To: devrim@gunduz.org, pgsql-admin@postgresql.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Archive-Number: 200307/27 X-Sequence-Number: 9368 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 01 July 2003 00:57, Devrim GUNDUZ wrote: > 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: > $ psql -l will do the trick as well. - --=20 Jonathan Gardner (was jgardn@alumni.washington.edu) Live Free, Use Linux! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/Aad9WgwF3QvpWNwRAoiRAJ40C3eW/f3cM3fKGHMiQI6w5Ge3cQCgmSpI VH1WxTxLs4U4mb8XucVpQBE=3D =3DkdgS -----END PGP SIGNATURE-----