Re: A small bug in gram.y - Mailing list pgsql-hackers

From Tom Lane
Subject Re: A small bug in gram.y
Date
Msg-id 7099.1257268721@sss.pgh.pa.us
Whole thread Raw
In response to Re: A small bug in gram.y  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> ... But pointing to ESCAPE is just weird.

Maybe.  The implementation's-eye view of this is that the construct is
data SIMILAR-operator (pattern ESCAPE-operator escape-char)

but I agree that isn't the way a user will think of it.  I could see
making the location be that of the SIMILAR keyword for both of the
operators.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: EOL for 7.4?
Next
From: Robert Haas
Date:
Subject: Re: EOL for 7.4?