Re: pg_get_triggerdef - Mailing list pgsql-patches

From Neil Conway
Subject Re: pg_get_triggerdef
Date
Msg-id 1047363092.354.14.camel@tokyo
Whole thread Raw
In response to pg_get_triggerdef  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-patches
On Tue, 2003-03-11 at 00:28, Christopher Kings-Lynne wrote:
> This patch creates a function named pg_get_triggerdef that takes the oid of
> a trigger as its parameter.  It is basically copied from the pg_dump code.

+         /*
+          * Find the trigger to delete.
+          */
+         ScanKeyEntryInitialize(&skey[0], 0x0,
+                                ObjectIdAttributeNumber, F_OIDEQ,
+                                ObjectIdGetDatum(trigid));

Looks like you forgot to change this comment :-)

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC




pgsql-patches by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: pg_get_triggerdef doc patch
Next
From: Neil Conway
Date:
Subject: Re: pg_get_triggerdef