From: lorid <lorid@dri.edu>
To: Erik Wasser <erik.wasser@iquer.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: 'show databases' in psql way?
Date: Tue, 02 Nov 2004 06:24:02 -0800
Message-ID: <41879882.6000506@dri.edu> (raw)
In-Reply-To: <200411011313.10872.erik.wasser@iquer.net>
References: <200411011313.10872.erik.wasser@iquer.net>
\z will list the tables in the dbase
\d tablename will list the columns in the table
---------------------
Erik Wasser wrote:
>Hi list,
>
>how can I list the databases in a postgresish way? I know about the '-l'
>switch of 'psql' but is there a DBI/SQL-query way? I don't want to call
>an external program only to list the databases. I've googled about this
>problem but I only found the '-l'-way to this this.
>
>Ideas? Solutions?
>
>
>
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: lorid@dri.edu, erik.wasser@iquer.net
Subject: Re: 'show databases' in psql way?
In-Reply-To: <41879882.6000506@dri.edu>
* 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