Re: Trigger trouble

From: "Sandy Spence" <axs(at)aber(dot)ac(dot)uk>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "'Rajesh Kumar Mallah'" <mallah(dot)rajesh(at)gmail(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Trigger trouble
Date: 2007-01-03 15:20:23
Message-ID: 008d01c72f4a$b3103e20$520b3cc1@pc2axs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Tom,

Thanks for the reply, sorry for the delay in responding a Scotsman and
Hogmanay are never parted ;~}

The version of postgres we are currently running is PostgreSQL 7.2.3

I did a Drop type trigger on the users database adding a tab at the end and
came up with the list below

RI_ConstraintTrigger_6081987 RI_ConstraintTrigger_6081995
RI_ConstraintTrigger_6082037 bestworkbehave
RI_ConstraintTrigger_6081989 RI_ConstraintTrigger_6081997
RI_ConstraintTrigger_6121610 pg_sync_pg_pwd
RI_ConstraintTrigger_6081991 RI_ConstraintTrigger_6082033
RI_ConstraintTrigger_6121612 tidyup
RI_ConstraintTrigger_6081993 RI_ConstraintTrigger_6082035
RI_ConstraintTrigger_6121614

as you can see there appears to be an instance of a trigger that is not
connected to anything, is there a table that has an entry where I can remove
the offending trigger?

Cheers,

Sandy

Computer Officer, RA Certification Manager
Department of Computer Science - UWA
Llandinam Building
Penglais Campus
Aberystwyth
Ceredigion
Wales - UK
SY23 3DB
Tel: (01970)-622433
Fax: (01970)-628536

-----Original Message-----
From: pgsql-admin-owner(at)postgresql(dot)org
[mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Tom Lane
Sent: 22 December 2006 14:39
To: Sandy Spence
Cc: 'Rajesh Kumar Mallah'; pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Trigger trouble

"Sandy Spence" <axs(at)aber(dot)ac(dot)uk> writes:
> select typowner from pg_type where typname='trigger'; typowner
> ----------
> (0 rows)

Um ... what PG version is this exactly? ("select version()" if you're not
sure.)

It's real hard to see why pg_dump would complain about a type that's not
there at all. You sure you checked this in the same database that's being
dumped?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2007-01-03 15:39:34 Re: Trigger trouble
Previous Message Kiran Kumar 2007-01-03 11:27:58 Reg: QTP will support PostgreSQL database (or) not?