Re: record OID to table

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: record OID to table
Дата
Msg-id 20060303174345.GA52261@winnie.fuhr.org
обсуждение исходный текст
Ответ на record OID to table  ("Yudie Pg" <yudiepg@gmail.com>)
Список pgsql-general
On Fri, Mar 03, 2006 at 11:31:40AM -0600, Yudie Pg wrote:
> How can I possible to find out what table a record belong to
> from record's oid?

You can't, short of querying every table that has an oid column.
However, you could determine the table from the record's tableoid
column.

Where are you getting the oid?  Could you tell us more about what
you're trying to do?

--
Michael Fuhr

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: record OID to table
Следующее
От: Abbath
Дата:
Сообщение: Re: tsearch2 match substrings