Re: How to get Relation name from Oid ??

Поиск
Список
Период
Сортировка
От Jonathan Gardner
Тема Re: How to get Relation name from Oid ??
Дата
Msg-id 200403011039.18227.jgardner@jonathangardner.net
обсуждение исходный текст
Ответ на How to get Relation name from Oid ??  (Halasipuram seshadri ramanujam<hals_ramu@yahoo.co.in>)
Список pgsql-hackers
On Friday 27 February 2004 12:01 pm, Halasipuram seshadri ramanujam wrote:
> Hello ,
>
> Can somebody please tell me how to get the name of the
> relation (Attribute also) from the Oid and the
> otherway back (Oid from name) ??
>

There is a document on the system tables in the PostgreSQL documentation.

http://www.postgresql.org/docs/7.4/static/catalogs.html

pg_class is the relation you are looking for.

-- 
Jonathan Gardner
jgardner@jonathangardner.net


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

Предыдущее
От: larryr@saturn.sdsu.edu
Дата:
Сообщение: Hey, ya! =))
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Hey, ya! =))