[GENERAL] foreign key constraints and inheritence

2005-07-16 Thread Garrett Kalleberg
I have this structure: CREATE TABLE invoicelineitemtypes ( invoicelineitemtypeid varchar(36) PRIMARY KEY, otherstuff varchar(36) ); CREATE TABLE invoicelineiteminventorytypes ( moresetuff varchar(36) ) INHERITS (invoicelineitemtypes); CREATE TABLE invoicelines ( invoicelineitemt

Re: [GENERAL] foreign key constraints and inheritence

2005-07-17 Thread Garrett Kalleberg
On Jul 17, 2005, at 5:35 AM, Michael Fuhr wrote: See the inheritance documentation: http://www.postgresql.org/docs/8.0/static/ddl-inherit.html "A serious limitation of the inheritance feature is that indexes (including unique constraints) and foreign key constraints only apply to single tables