Re: LOST REFERENTIAL INTEGRITY

From: "Jimmie H(dot) Apsey" <japsey(at)futuredental(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org, "Apsey, Jim (at) DCF" <japsey(at)futuredental(dot)com>
Subject: Re: LOST REFERENTIAL INTEGRITY
Date: 2004-10-04 21:25:59
Message-ID: 4161BFE7.80407@futuredental.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:

>"Jimmie H. Apsey" <japsey(at)futuredental(dot)com> writes:
>
>
>>>Each FK constraint should have three associated triggers (two on the
>>>referencing table, one on the referenced table).
>>>
>>>
>
>
>
>>OH, that's very scary for me that triggers can vanish/be eliminated w/o
>>my direct action. Yes, I do now see that the triggers on my production
>>table have been lost. I built a test table and they appear as
>>expected. Is there any way I can prevent this or become aware that
>>something had done this to my production database?
>>
>>
>
>If you are still running 7.1 you obviously do not know the meaning of
>the word "fear" ;-) --- it not only has lots of since-fixed bugs, but
>at that time we hadn't yet solved the transaction ID wraparound problem,
>which means your DB is guaranteed to self-destruct once you reach the
>4-billion-transaction mark.
>
>I'd recommend an upgrade to 7.4.5 at your earliest convenience.
>
> regards, tom lane
>
>
>
I have kept up-to-date our Red Hat kernels as you can probably see from
the Linux 2.4.9-e.49smp kernel. Am I required to maintain my own
version of Postgres alongside and compiled into Red Hat's latest and
greatest kernel? If that's true, WHEW! I wonder what version of
Postgres is installed in Red Hat's latest kernel of AS 3.0?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wiebe de Jong 2004-10-04 21:30:52 Cursors and JDBC
Previous Message Tom Lane 2004-10-04 20:59:34 Re: LOST REFERENTIAL INTEGRITY