| От | Tom Lane |
|---|---|
| Тема | Re: Current enums patch |
| Дата | |
| Msg-id | 10650.1175469637@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Current enums patch (Tom Dunstan <pgsql@tomd.cc>) |
| Ответы |
Re: Current enums patch
|
| Список | pgsql-patches |
Tom Dunstan <pgsql@tomd.cc> writes:
> Tom Lane wrote:
>>> ... could we
>>> have a special rule that would look for e.g. a regtype as the first
>>> parameter if the return type is generic and there are no generic parameters?
>>
>> I thought about that too but don't like it much. The problem is mainly
>> that it can only work for a constant regtype parameter.
> OK, I give up. :) Why?
Because the whole point is that the type has to be known at parse time.
I've got it working with get_fn_expr_argtype and it seems fairly
reasonable.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера