Re: transforms - Mailing list pgsql-hackers

From Chapman Flack
Subject Re: transforms
Date
Msg-id 680436D7.7000704@acm.org
Whole thread Raw
In response to Re: transforms  (Chapman Flack <jcflack@acm.org>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Chapman Flack
Date:
Subject: Re: transforms
Next
From: David Rowley
Date:
Subject: Re: Typos in the code and README