By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,331 Members | 1,060 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,331 IT Pros & Developers. It's quick & easy.

Post gresql commands

P: n/a
How can i get a list of database in postgresql

anwar

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 22 '05 #1
Share this Question
Share on Google+
3 Replies

P: n/a


anwar schrieb:
How can i get a list of database in postgresql

anwar


psql -l

for details see: http://www.postgresql.org/docs/7.4/static/app-psql.html
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 22 '05 #2

P: n/a
On Thu, Feb 19, 2004 at 20:39:13 +0300,
anwar <an***@haseelah.com> wrote:
How can i get a list of database in postgresql


psql -l

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 22 '05 #3

P: n/a
try
SELECT datname FROM pg_database;

On Thu, 2004-02-19 at 14:39, anwar wrote:
How can i get a list of database in postgresql

anwar



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAN64d21dVnhLsBV0RAmpEAJ9IOYHsFygl3kvgNaQLJS QOCxVoFwCghjTU
TfsV3OS+E6M0bmiQ/odMR+M=
=VQPX
-----END PGP SIGNATURE-----

Nov 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.