child fk problem
child fk problem
От:
"Luis Silva" <lfs12@hotmail.com>
Дата:
I there, I'm trying to work with postgre, but i'm having a problem with inherits. I have a table (parent) that as an fk to another table. When i create a child, i loose the connection to the other table. i dont need to insert values in the parent table. what do i need to do?? tks in advance
Re: child fk problem
От:
Scott Marlowe <smarlowe@g2switchworks.com>
Дата:
On Wed, 2005-11-30 at 12:42, Luis Silva wrote: > I there, I'm trying to work with postgre, but i'm having a problem > with inherits. I have a table (parent) that as an fk to another table. > When i create a child, i loose the connection to the other table. i > dont need to insert values in the parent table. what do i need to do?? > tks in advance Neither indexes, nor triggers, nor foreign keys are inherited by child tables. only the base structure of the parent.