Re: strange bison, cannot remove reduce

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
Subject: Re: strange bison, cannot remove reduce
Date: 2007-11-22 10:11:41
Message-ID: 162867790711220211n4a69028dwf5feffa9b271de62@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 22/11/2007, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> Pavel Stehule wrote:
> > I am playing with methods. It's +/- function with first hidden arguments.
> >
> > example: sin(10) ~ (10).sin() is equivalent.
> > legal is substring('aaaa',1,3).upper() too etc
> >
> > I spent some time with bison (without success).
>
> I don't think you can actually resolve this in the parser. For example
>
> a.b(x)
>
> could be, call function b(x) in schema a, or call function b(a, x).
>
> You need to resolve this later, with catalog access, it appears.
>

yes, I know, but I have to go across parser first

Pavel

> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2007-11-22 10:50:03 Internal document bug?
Previous Message Simon Riggs 2007-11-22 09:51:08 Re: Postgres 8.3 archive_command