pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rodrigo De Leon <rdeleonp@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: viewing the description of tables from python DB-API
Date: Tue, 1 Aug 2006 17:14:03 -0600
Message-ID: <a55915760608011614t485b6e49qaaecb89e8ff567b3@mail.gmail.com> (raw)
In-Reply-To: <20060801223740.4B60E9FB1D4@postgresql.org>
References: <20060801223740.4B60E9FB1D4@postgresql.org>

On 8/1/06, Daniel Joo <djoo@vistagen-inc.com> wrote:
> Hi all,
>
>
>
> Is there a way to view the list of all tables from python (or any other
> languages for that matter) DB-API?  What I'm looking for is a command
> similar to the meta-command '\d' that works with the psql client.
>
>
>
> Thanks very much!
>
>
>
> Dan

There's also the INFORMATION_SCHEMA:

http://www.postgresql.org/docs/8.1/static/information-schema.html

Regards,

Rodrigo



view thread (5+ messages)  latest in thread

Message-ID: <a55915760608011614t485b6e49qaaecb89e8ff567b3@mail.gmail.com>
Permalink:  ../a55915760608011614t485b6e49qaaecb89e8ff567b3@mail.gmail.com/
Also on:    postgresql.org/message-id/a55915760608011614t485b6e49qaaecb89e8ff567b3@mail.gmail.com

 · 

reply

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: rdeleonp@gmail.com
  Subject: Re: viewing the description of tables from python DB-API
  In-Reply-To: <a55915760608011614t485b6e49qaaecb89e8ff567b3@mail.gmail.com>

* 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