About table schema

Поиск
Список
Период
Сортировка
От Wei Shi
Тема About table schema
Дата
Msg-id 20040525223610.40614.qmail@web60307.mail.yahoo.com
обсуждение исходный текст
Ответы Re: About table schema  (Janning Vygen <vygen@gmx.de>)
Re: About table schema  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
Hi, does anyone know how to get the schema information
of a table.  More specifically, I would like to know

1. which field(s) are primary keys?
2. the data type of each field of a table?
3. If a field is a foreign key, what field/table it
is referring to.

Thanks.

Wei





__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Iterating over an varchar array?
Следующее
От: Janning Vygen
Дата:
Сообщение: Re: About table schema