Am 04.11.2010 04:55, schrieb Tom Lane:
> I don't actually see any point in having two functions at all. Since
> the trigger is examining the column type internally, it could perfectly
> well do the right thing at runtime depending on column type.
Got the point. Here's another patch, hope my limited C skills are
sufficient... Works here, at least.
BTW: Is there a way to achieve the same in pure PL/pgSQL or PL/perl?
Bye...
Dirk