Re: Strange.. solved

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: prlw1(at)cam(dot)ac(dot)uk
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Strange.. solved
Date: 2001-01-24 19:01:14
Message-ID: Pine.BSF.4.21.0101241059300.57849-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Actually, if you look in pg_trigger, <unnamed> is technically the
constraint name and it should have a system generated constraint name
which you probably can use drop trigger on. It looks like part of
a FK constraint so I'm not sure how you got just 1/2 of it since
dropping subject should have dropped it (unless you did a partial
dump and restore).

On Mon, 22 Jan 2001, Patrick Welche wrote:

> By comparing backups, I found
>
> CREATE CONSTRAINT TRIGGER "<unnamed>" AFTER INSERT OR UPDATE ON "person" NOT DEFERRABLE INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE "RI_FKey_check_ins" ('<unnamed>', 'person', 'subject', 'UNSPECIFIED', 'subjectid', 'id');
>
> Don't know where that came from, but probably operator error.. There isn't
> an easy way of scrubbing an unnamed trigger is there? (I dump/edit/reloaded)
>
> Cheers,
>
> Patrick
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-01-24 19:02:10 Re: postgresql.conf and postgres options
Previous Message Adam Lang 2001-01-24 18:59:51 Re: MySQL has transactions