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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: viewing the description of tables from python DB-API
Дата
Msg-id 20060801230039.GA20401@alvh.no-ip.org
обсуждение исходный текст
Ответ на viewing the description of tables from python DB-API  ("Daniel Joo" <djoo@vistagen-inc.com>)
Список pgsql-sql
Daniel Joo wrote:

> 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.  

Try \d under psql -E sometime.  It'll give you the query it uses.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: "Daniel Joo"
Дата:
Сообщение: viewing the description of tables from python DB-API
Следующее
От: "Rodrigo De Leon"
Дата:
Сообщение: Re: viewing the description of tables from python DB-API