pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
child fk problem
2+ messages / 2 participants
[nested] [flat]

* child fk problem
@ 2005-11-30 18:42  Luis Silva <lfs12@hotmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Luis Silva @ 2005-11-30 18:42 UTC (permalink / raw)
  To: pgsql-sql

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: child fk problem
@ 2005-11-30 21:23  Scott Marlowe <smarlowe@g2switchworks.com>
  parent: Luis Silva <lfs12@hotmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Scott Marlowe @ 2005-11-30 21:23 UTC (permalink / raw)
  To: Luis Silva <lfs12@hotmail.com>; +Cc: pgsql-sql

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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-11-30 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-30 18:42 child fk problem Luis Silva <lfs12@hotmail.com>
2005-11-30 21:23 ` Scott Marlowe <smarlowe@g2switchworks.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox