Re: pg_dump:cannot find function for trigger

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Claudio Grillo <cjg(at)certi(dot)ufsc(dot)br>
Cc: PostgresSQL mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump:cannot find function for trigger
Date: 2000-11-23 18:06:18
Message-ID: 7556.975002778@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Claudio Grillo <cjg(at)certi(dot)ufsc(dot)br> writes:
> getTables(): relation 'tb_bombas': cannot find function with oid 1654
> for trigger RI_ConstraintTrigger_28974

> But I can find de procedure with oid 1654 in the pg_proc, and the
> reference to this function in pg_trigger:

> pg_proc
> proname
> |proowner|prolang|proisinh|proistrusted|proiscachable|pronargs|proretset|prorettype|proargtypes|probyte_pct|properbyte_cpu|propercall_cpu|prooutin_ratio|prosrc

> |probin
> --------------------+--------+-------+--------+------------+-------------+--------+---------+----------+-----------+-----------+--------------+--------------+--------------+--------------------+------

> RI_FKey_noaction_del| 40| 11|f |t |f
> | 0|f | 0| | 100|
> 0| 0| 100|RI_FKey_noaction_del|-
> (1 row)

Hmm. Do you have a user with sysid 40 in pg_shadow? pg_dump tends to
get confused by 'owner' links that point to nonexistent users.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jose Manuel Lorenzo Lopez 2000-11-23 18:24:03 Compiling postgresql 7.0.3 for WinNT
Previous Message Gary MacDougall 2000-11-23 17:51:01 PHP, Win32, Postgres 7.0