Re: pg_get_triggerdef

From: Neil Conway <neilc(at)samurai(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_get_triggerdef
Date: 2003-03-11 06:11:32
Message-ID: 1047363092.354.14.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2003-03-11 06:19:30 Re: pg_get_triggerdef
Previous Message Christopher Kings-Lynne 2003-03-11 05:48:21 pg_get_triggerdef doc patch