Re: Keeping CURRENT_DATE and similar constructs in original format
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Keeping CURRENT_DATE and similar constructs in original format |
| Дата | |
| Msg-id | 7431.1471394118@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Keeping CURRENT_DATE and similar constructs in original format (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 5/12/16 6:14 PM, Tom Lane wrote:
>> So what I've wanted to do for some time is invent a new expression node
>> type that represents any one of these functions and can be reverse-listed
>> in the same format that the input had. The attached proposed patch does
>> that.
> I was experimenting with this as well when I found your patch, and I
> think this is the right solution. Your patch works fine for me.
Thanks for reviewing this patch. I've pushed it now.
>> (I'm not particularly in love with the node type name
>> ValueFunction; anybody got a better idea?)
> I think this is fine. The only other idea I have would be
> SQLValueFunction, to emphasize that this is about SQL-mandated special
> cases.
I went with SQLValueFunction.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера