Re: 'show databases' in psql way?

From: lorid <lorid(at)dri(dot)edu>
To: Erik Wasser <erik(dot)wasser(at)iquer(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: 'show databases' in psql way?
Date: 2004-11-02 14:24:02
Message-ID: 41879882.6000506@dri.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

\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?
>
>
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Arash Zaryoun 2004-11-02 15:03:40 Re: 'show databases' in psql way?
Previous Message Markus Schaber 2004-11-02 12:05:07 Update instead rules on Views