Re: viewing the description of tables from python DB-API

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: viewing the description of tables from python DB-API
Дата
Msg-id 1154535774.7882.42.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на Re: viewing the description of tables from python DB-API  ("Rodrigo De Leon" <rdeleonp@gmail.com>)
Список pgsql-sql
On Tue, 2006-08-01 at 18:14, Rodrigo De Leon wrote:
> 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

Quick note.  The INFORMATION_SCHEMA should stay pretty static from one
pgsql version to the next, while the queries that psql -E shows will
likely change from one version to another.


В списке pgsql-sql по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: alter column type from boolean to char with default
Следующее
От: Tom Lane
Дата:
Сообщение: Re: alter column type from boolean to char with default