BUG #1099: bad syntax error localisation

From: "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1099: bad syntax error localisation
Date: 2004-03-11 14:41:39
Message-ID: 20040311144139.B8D4BCF4D2E@www.postgresql.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1099
Logged by: Fabien Coelho

Email address: coelho(at)cri(dot)ensmp(dot)fr

PostgreSQL version: 7.5 Dev

Operating system: linux debian

Description: bad syntax error localisation

Details:

The example is in the regression tests:-)

In src/test/regress/output/create_function_1.source
on line 55:

CREATE FUNCTION test1 (int) RETURNS int LANGUAGE sql
AS 'not even SQL';
ERROR: syntax error at or near "not" at character 1

You may notice that word "not" is not at character 1,
where there is "CREATE".

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2004-03-11 15:01:22 Re: BUG #1099: bad syntax error localisation
Previous Message Richard Huxton 2004-03-11 08:55:16 Re: BUG #1098: Multiple ON INSERT rules not applied properly in the case of INSERT...SELECT