On 04/19/25 19:32, Chapman Flack wrote: > On 04/19/25 19:12, Tom Lane wrote: >> You could argue that >> CREATE FUNCTION foo(anyelement) RETURNS anyelement >> TRANSFORM FOR TYPE int >> AS ...; >> should mean that if the actual argument type is int, then the >> mentioned transform should be applied to the input and result;
Also if foo() RETURNS TRIGGER and tg_trigtuple/tg_newtuple have int components. Regards, -Chap