Re: Patch for 8.5, transformationHook

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Patch for 8.5, transformationHook
Date: 2009-04-19 17:47:37
Message-ID: 162867790904191047s48d52633keca454852c2b27d2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2009/4/19 Peter Eisentraut <peter_e(at)gmx(dot)net>:
> 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.
>

should you describe it little bit more?

regards
Pavel

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-04-19 18:09:48 Re: Duplicate code in psql's \ commands
Previous Message Peter Eisentraut 2009-04-19 17:44:24 Re: Patch for 8.5, transformationHook