Re: strange bison, cannot remove reduce

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: strange bison, cannot remove reduce
Дата
Msg-id 200711220850.02337.peter_e@gmx.net
обсуждение исходный текст
Ответ на strange bison, cannot remove reduce  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Ответы Re: strange bison, cannot remove reduce  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Список 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/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Guillaume Smet"
Дата:
Сообщение: Re: 8.3devel slower than 8.2 under read-only load
Следующее
От: "Zeugswetter Andreas ADI SD"
Дата:
Сообщение: Re: Postgres 8.3 archive_command