Problem with foreign keys and inheritance

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: wieck(at)debis(dot)com (Jan Wieck)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Problem with foreign keys and inheritance
Date: 2000-01-13 22:14:39
Message-ID: 200001132214.WAA24994@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

[Version: CVS as of yesterday]
When I create a table that inherits from another table that uses foreign
keys, I get something like this:

ERROR: cache lookup of attribute 10 in relation 124171 failed

This is happening in get_attribute_name() of backend/utils/adt/ruleutils.c

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
========================================
"For the LORD is good; his mercy is everlasting; and
his truth endureth to all generations."
Psalms 100:5

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message admin 2000-01-13 23:16:04 SPI_fnumber can't see oid
Previous Message Lamar Owen 2000-01-13 19:47:54 Re: [HACKERS] TODO list updated