Re: Patch file questions? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Patch file questions?
Date
Msg-id 1309374706-sup-4101@alvh.no-ip.org
Whole thread Raw
In response to Patch file questions?  (Casey Havenor <casey@myzip2it.com>)
Responses Re: Patch file questions?
List pgsql-hackers
Excerpts from Casey Havenor's message of mié jun 29 14:24:11 -0400 2011:

> Problem:
>  
> I like many other have come across the inherit issues. 
> 
> I found the thread here about such issue... 
> http://postgresql.1045698.n5.nabble.com/FK-s-to-refer-to-rows-in-inheritance-child-td3287684.html 
> 
> I grabbed the "fk_inheritance.v1.patch" file and have been trying to install
> it for the last two hours. 

I suggest you do not run a patched version of Postgres.  The reason this
patch hasn't been included is that it doesn't completely solve the
problem, it might cause others because it hasn't been fully tested, and
to make matters worse, you are on your own if you run a system with it
because we cannot support you if you have weird problems.

Particularly so if you're new to Postgres.  Doubly so if you're new to
patching source code.

My advice would be to use some other design that does not involve FKs on
inheritance hierarchies.  (Yes, partitioning becomes a hard problem).

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Casey Havenor
Date:
Subject: Patch file questions?
Next
From: Merlin Moncure
Date:
Subject: Re: hint bit cache v6