Re: [HACKERS] Problem with foreign keys and inheritance - Mailing list pgsql-hackers

From Ed Loehr
Subject Re: [HACKERS] Problem with foreign keys and inheritance
Date
Msg-id 38810223.6AB9A33F@austin.rr.com
Whole thread Raw
In response to Problem with foreign keys and inheritance  ("Oliver Elphick" <olly@lfix.co.uk>)
Responses Re: [HACKERS] Problem with foreign keys and inheritance
List pgsql-hackers
Oliver Elphick wrote:
> 
> However, I cannot find relation 124171; is there any way to find out
> where a relation is, given only its oid?

This might give you a pretty good hint...
select * from pg_attribute where attrelid = 124171;

Cheers,
Ed Loehr


pgsql-hackers by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Re: [HACKERS] Problem with foreign keys and inheritance
Next
From: Stephen Birch
Date:
Subject: Re: [HACKERS] TODO list