Re: potential bug in trigger with boolean params

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org, Peter Eisentraut <peter_e@gmx.net>, Andreas Joseph Krogh <andreak@officenet.no>
Date: 2011-05-11T18:04:34Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Is there a special reason for not using the normal function calling 
> mechanisms? It looks to me as it was just done to have an easy way to store it 
> in pg_trigger.tgargs.

Well, this is all very historical, dating from Berkeley days AFAIK.
If we had it to do over, I bet we'd do it differently --- but the pain
of changing it seems to exceed any likely benefit.

			regards, tom lane