pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Randall Perry <rgp@systame.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pgdump fails on trigger function
Date: Wed, 19 Dec 2001 11:08:30 -0500
Message-ID: <29997.1008778110@sss.pgh.pa.us> (raw)
In-Reply-To: <B8461974.15EF3%rgp@systame.com>
References: <B8461974.15EF3%rgp@systame.com>

Randall Perry <rgp@systame.com> writes:
> Anyone know what this means:
> getTables(): SELECT (funcname) for trigger cust_modification_date returned 0
> tuples. Expected 1.

It would seem you have dropped the function which that trigger uses.
(If you drop and recreate a function, you have to drop and recreate
any triggers that use it too.  The triggers refer to the function by
OID, but the recreated function will have a different OID.)

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <29997.1008778110@sss.pgh.pa.us>
Permalink:  ../29997.1008778110@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29997.1008778110@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rgp@systame.com
  Subject: Re: pgdump fails on trigger function
  In-Reply-To: <29997.1008778110@sss.pgh.pa.us>
  References: <B8461974.15EF3%rgp@systame.com> <29997.1008778110@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