Skip site navigation (1) Skip section navigation (2)

plproxy - plproxy: Avoid parsing "SELECT (" as function call Currently

From: mkz(at)pgfoundry(dot)org (User Mkz)
To: pgsql-committers(at)postgresql(dot)org
Subject: plproxy - plproxy: Avoid parsing "SELECT (" as function call Currently
Date: 2009-06-29 13:32:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Avoid parsing "SELECT (" as function call

Currently PL/Proxy fails to parse following statement:

  select (0*0);

As only SELECT statement is affected, fix it by explicitly checking
for that case.

In long-term, the function-call detection should be moved to parser,
thus getting rid of the hack.

Patch by Peter Eisentraut

Modified Files:
        plproxy_select.out (r1.2 -> r1.3)
        plproxy_select.sql (r1.1.1.1 -> r1.2)
        scanner.l (r1.13 -> r1.14)

pgsql-committers by date

Next:From: User MkzDate: 2009-06-29 13:37:58
Subject: plproxy - plproxy: Make scanner accept dot as standalone symbol
Previous:From: User DimDate: 2009-06-29 10:30:47
Subject: pgloader - pgloader: release 2.3.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group