pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Achilleus Mantzios <achill@matrix.gatewaynet.com>
Cc: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [SQL] Problem: Referential Integrity Constraints lost
Date: Thu, 07 Nov 2002 09:55:29 -0500
Message-ID: <19207.1036680929@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0211070939250.7061-100000@matrix.gatewaynet.com>
References: <Pine.LNX.4.44.0211070939250.7061-100000@matrix.gatewaynet.com>

Achilleus Mantzios <achill@matrix.gatewaynet.com> writes:
> After recreating the missing triggers should i upgrade
> to 7.2.3??

Make that "before".

I frankly suspect pilot error here.  Triggers do not simply disappear.
If you did have crash-induced corruption leading to loss of some rows
in pg_trigger, it would be exceedingly obvious because *no* operations
on the affected tables would work --- relcache would complain about the
fact that pg_class.reltriggers didn't match the number of rows in
pg_trigger.  I think the missing triggers must have been removed or
disabled deliberately.  (Which is not to say that it couldn't have been
a software bug, but you're barking up the wrong tree to blame it on a
crash.)

Did all the triggers of the affected tables disappear, or only some
of them?

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <19207.1036680929@sss.pgh.pa.us>
Permalink:  ../19207.1036680929@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19207.1036680929@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, achill@matrix.gatewaynet.com, sszabo@megazone23.bigpanda.com, pgsql-general@postgresql.org, pgsql-hackers@postgresql.org
  Subject: Re: [SQL] Problem: Referential Integrity Constraints lost
  In-Reply-To: <19207.1036680929@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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