Re: Patch for 8.5, transformationHook - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Patch for 8.5, transformationHook
Date
Msg-id 200904192044.25614.peter_e@gmx.net
Whole thread Raw
In response to Re: Patch for 8.5, transformationHook  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Patch for 8.5, transformationHook  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On Saturday 18 April 2009 18:09:00 Pavel Stehule wrote:
> There are lot of things, that should be done with current grammar only
> on transformation stage. Currently pg do it now. There are lot of
> pseudo functions, that are specially transformed: least, greatest,
> coalesce. After hooking we should do some similar work from outer
> libraries.

There are surely other ways to accomplish this than an expression 
transformation hook.  Adding a property or two to the function definition to 
do what you want could do it.



pgsql-hackers by date:

Previous
From: Brendan Jurd
Date:
Subject: Re: to_timestamp() changes in 8.4 release notes
Next
From: Pavel Stehule
Date:
Subject: Re: Patch for 8.5, transformationHook