Re: transforms

Поиск
Список
Период
Сортировка
От Chapman Flack
Тема Re: transforms
Дата
Msg-id 680436D7.7000704@acm.org
обсуждение исходный текст
Ответ на Re: transforms  (Chapman Flack <jcflack@acm.org>)
Список 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 по дате отправления: