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