Re: record OID to table

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Yudie Pg <yudiepg(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: record OID to table
Date: 2006-03-03 17:43:45
Message-ID: 20060303174345.GA52261@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Abbath 2006-03-03 18:42:10 Re: tsearch2 match substrings
Previous Message Martijn van Oosterhout 2006-03-03 17:37:31 Re: record OID to table