Re: strange bison, cannot remove reduce

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: strange bison, cannot remove reduce
Date: 2007-11-22 07:50:01
Message-ID: 200711220850.02337.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas ADI SD 2007-11-22 09:02:03 Re: Postgres 8.3 archive_command
Previous Message Guillaume Smet 2007-11-22 07:48:42 Re: 8.3devel slower than 8.2 under read-only load