Re: BUG: mismatched parentheses - Mailing list pgsql-bugs

From Stephan Szabo
Subject Re: BUG: mismatched parentheses
Date
Msg-id 20020602234333.Y87447-100000@megazone23.bigpanda.com
Whole thread Raw
In response to BUG: mismatched parentheses  ("Brendon Matthews" <brendonm@bbtechltd.com>)
List pgsql-bugs
On Tue, 28 May 2002, Brendon Matthews wrote:

> Hi,
>
> I have found a bug in PostgreSQL 7.2.1.
>
> I am trying to use plpgsql to run a simple INSERT on a table, and it always
> comes up with an error saying "mismatched parentheses"
>
> I firstly store the SQL in a TEXT variable:
> a_sql := ''INSERT INTO mytable(theid,thenumber) VALUES(1,2);'';
>
> Then i run the EXECUTE command in plpgsql:
> EXECUTE a_sql;
>
> I have tried many different ways to get the INSERT working, but all have
> failed with the same result, however when i try to run the same INSERT
> outside of plpgsql it always succeeds.
>
> This problem is very serious, and needs to be sorted out.

Can you give a complete test case as a script that illustrates the
problem?

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PQescapeString and PQescapeBytea not exported during win
Next
From: Ron Mayer
Date:
Subject: Should the optimizer optimize "current_date - interval '1 days'" (fwd)