Re: Getting table name/tuple from OID

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Getting table name/tuple from OID
Дата
Msg-id 436F66BD.3090707@familyhealth.com.au
обсуждение исходный текст
Ответ на Getting table name/tuple from OID  (Paresh Bafna <paresh@it.iitb.ac.in>)
Ответы Re: Getting table name/tuple from OID  (Paresh Bafna <paresh@it.iitb.ac.in>)
Список pgsql-hackers
Try

SELECT 12341234::regclass;

Where 12341234 is the OID of a table.

Otherwise try:

SELECT tableoid, * FROM table;

To get the tableoid on each row.

Chris

Paresh Bafna wrote:
> Is there any way to retrieve table name and/or tuple values from OID of
> table/tuple?
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Interval aggregate regression failure (expected seems
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Another pgindent gripe