BUG: mismatched parentheses

Поиск
Список
Период
Сортировка
От Brendon Matthews
Тема BUG: mismatched parentheses
Дата
Msg-id ENELLKLMINPNBFCCIFMDGEKFCAAA.brendonm@bbtechltd.com
обсуждение исходный текст
Ответы Re: BUG: mismatched parentheses  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-bugs
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.

Brendon Matthews
Analyst Programmer
BBTech Ltd
Ph: (03) 381 1127
Fax: (03) 381 1185

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Andrew McMillan
Дата:
Сообщение: Re: Documentation regarding %ROWTYPE in PL/PgSQL
Следующее
От: Christian Zagrodnick
Дата:
Сообщение: plpgsql function behaves strange