Re: "AS" by the syntax of table reference.(8.4 proposal) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: "AS" by the syntax of table reference.(8.4 proposal)
Date
Msg-id 1061.1202595975@sss.pgh.pa.us
Whole thread Raw
In response to Re: "AS" by the syntax of table reference.(8.4 proposal)  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> There are other rules that have a %prec on the rule itself, does that not work
> here? *off to read the fine manual now*

No, the decision is driven by comparing the precedence of the rule to
that of the input token, so you need precedences on both to resolve
an ambiguous situation.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jan Wieck"
Date:
Subject: Re: PostgreSQL 8.4 development plan
Next
From: "Brendan Jurd"
Date:
Subject: Re: PostgreSQL 8.4 development plan