[PGSQL 8.3.5] How to handle FKs with partitioning?

From: Reg Me Please <regmeplease(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: [PGSQL 8.3.5] How to handle FKs with partitioning?
Date: 2008-12-19 11:04:22
Message-ID: 200812191204.23629.regmeplease@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all.

I need to implement something very similar to temporal table partitioning as
described in the documentation at chapter 5.9.

My issues come from the fact that I have other tables that references (FKs) to
the table(s) to be partitioned. Those references are enforced by means of DRI
statements (REFERENCES ...).

As the table containing the referenced data will not be a single table, will I
be forced to drop DRI?
The referencing table(s) don't need to be partitioned, though and have also
other FKs to other tables.

Is there any other solution as I would keep DRI?

Thanks in advance.

--
Fahrbahn ist ein graues Band
weisse Streifen, grüner Rand

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Zoltan Boszormenyi 2008-12-19 12:21:37 REVOKE CONNECT doesn't work in 8.3.5
Previous Message Erwin Moller 2008-12-19 10:43:53 Re: create a 'range' of dates/numbers?