BUG #4103: DELETE Syntax Error - Mailing list pgsql-bugs

From Yu Jye Foo
Subject BUG #4103: DELETE Syntax Error
Date
Msg-id 200804111657.m3BGvIA6014132@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4103: DELETE Syntax Error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4103
Logged by:          Yu Jye Foo
Email address:      yu.jyefoo@autodesk.com
PostgreSQL version: 8.3.0
Operating system:   Windows XP x64
Description:        DELETE Syntax Error
Details:

2008-04-11 09:01:02 PDT ERROR:  syntax error at or near "LIMIT" at character
97
2008-04-11 09:01:02 PDT STATEMENT:  DELETE FROM BASELINES WHERE file_id IN
(SELECT file_id FROM files WHERE config_id = 1155042061) LIMIT 4001;

To remove the possibility that the database was invalid,
SELECT * FROM BASELINES WHERE file_id IN (SELECT file_id FROM files WHERE
config_id = 1155042061) LIMIT 4001;

has no issues running.

Removing the "LIMIT 4001" yields the same issue. I am communicating with the
database through the psqlODBC driver.

pgsql-bugs by date:

Previous
From: "Mikel Lindsaar"
Date:
Subject: BUG #4101: Fails to start when transaction log on another drive
Next
From: Tom Lane
Date:
Subject: Re: BUG #4103: DELETE Syntax Error