| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера