From: | Benoît Bournon <benoit(dot)bournon(at)adelis(dot)com> |
---|---|
To: | Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> |
Cc: | BenLaKnet <benlaknet(at)icqmail(dot)com>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: [pg-sql] - Problem with duplicate table (PostgreSQL 7.2.3 |
Date: | 2003-08-11 13:40:46 |
Message-ID: | 3F379CDE.2000602@adelis.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
we make a dump before ... and with a product pgmanager (ems tech) we do
not show any foreign keys.
But I think all of triggers of referenced table are not deleted.
We recreate the schemas ... and now is running.
How is it possible to identify Triggers with no referenced tables ?
Stephan Szabo a écrit:
>On Mon, 11 Aug 2003, [ISO-8859-1] Beno?t Bournon wrote:
>
>
>
>>No trigger
>>
>>Just triggers for foreign key in spectacle and none in spectacle_v
>>
>>How is it possible to verify triggers for foreign keys ?
>>
>>
>
>Generally a select on pg_trigger. Each foreign key should have 3
>triggers, 1 on the referencing table and 2 on the referenced. You find the
>tables involved by crossreferencing tgrelid against the oid of the row
>in pg_class.
>
>Can you send the results of a pg_dump -s?
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | BenLaKnet | 2003-08-11 13:44:08 | Re: [pg-sql] - Problem with duplicate table (PostgreSQL 7.2.3 |
Previous Message | Stephan Szabo | 2003-08-11 13:29:22 | Re: sub-sel/group problem |