Thread: pgsql: Make expression locations for LIKE and SIMILAR TO constructs

pgsql: Make expression locations for LIKE and SIMILAR TO constructs

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Make expression locations for LIKE and SIMILAR TO constructs uniformly point
at the first keyword of the expression, rather than drawing a rather
artificial distinction between the ESCAPE subclause and the rest.
Per gripe from Gokulakannan Somasundaram and subsequent discusssion.

Modified Files:
--------------
    pgsql/src/backend/parser:
        gram.y (r2.686 -> r2.687)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/gram.y?r1=2.686&r2=2.687)