pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpostgre Databases
4+ messages / 3 participants
[nested] [flat]
* postgre Databases
@ 2003-07-01 07:52 Haydar Haydar <yxselamxy@web.de>
0 siblings, 1 reply; 4+ messages in thread
From: Haydar Haydar @ 2003-07-01 07:52 UTC (permalink / raw)
To: pgsql-admin
Hi!
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.
____________________________________________________________________________
Nur bei WEB.DE Testsieger FreeMail testen und damit 1 qm Regenwald
schuetzen. Jetzt anmelden und mithelfen! http://user.web.de/Regenwald
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: postgre Databases
@ 2003-07-01 07:57 Devrim GUNDUZ <devrim@gunduz.org>
parent: Haydar Haydar <yxselamxy@web.de>
0 siblings, 1 reply; 4+ messages in thread
From: Devrim GUNDUZ @ 2003-07-01 07:57 UTC (permalink / raw)
To: 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@gunduz.org devrim.gunduz@linux.org.tr
http://www.tdmsoft.com
http://www.gunduz.org
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: postgre Databases
@ 2003-07-01 10:07 Haydar Haydar <yxselamxy@web.de>
0 siblings, 0 replies; 4+ messages in thread
From: Haydar Haydar @ 2003-07-01 10:07 UTC (permalink / raw)
To: DevrimGUNDUZ <devrim@gunduz.org>; pgsql-admin
Hi!
Thanks for your help.
Is there also a way to get the database schema with all tables and attributes?
Devrim GUNDUZ <devrim@gunduz.org> schrieb am 01.07.03 09:57:22:
>
>
> 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
______________________________________________________________________________
UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: postgre Databases
@ 2003-07-01 15:23 Jonathan Gardner <jgardner@jonathangardner.net>
parent: Devrim GUNDUZ <devrim@gunduz.org>
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Gardner @ 2003-07-01 15:23 UTC (permalink / raw)
To: Devrim GUNDUZ <devrim@gunduz.org>; pgsql-admin
-----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.
- --
Jonathan Gardner <jgardner@jonathangardner.net>
(was jgardn@alumni.washington.edu)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/Aad9WgwF3QvpWNwRAoiRAJ40C3eW/f3cM3fKGHMiQI6w5Ge3cQCgmSpI
VH1WxTxLs4U4mb8XucVpQBE=
=kdgS
-----END PGP SIGNATURE-----
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-07-01 15:23 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-01 07:52 postgre Databases Haydar Haydar <yxselamxy@web.de>
2003-07-01 07:57 ` Devrim GUNDUZ <devrim@gunduz.org>
2003-07-01 15:23 ` Jonathan Gardner <jgardner@jonathangardner.net>
2003-07-01 10:07 Re: postgre Databases Haydar Haydar <yxselamxy@web.de>
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