Re: BUG #17842: Adding a qual to a working query gets bogus syntax error - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: BUG #17842: Adding a qual to a working query gets bogus syntax error
Date
Msg-id CAKFQuwZeb+TFWNsaX3Mo8g3qK8AA_Fdzw+wjpKakx4Siq_oCWQ@mail.gmail.com
Whole thread Raw
In response to AW: BUG #17842: Adding a qual to a working query gets bogus syntax error  (Hans Buschmann <buschmann@nidsa.net>)
Responses Re: BUG #17842: Adding a qual to a working query gets bogus syntax error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs


On Tue, Mar 14, 2023, 11:12 Hans Buschmann <buschmann@nidsa.net> wrote:


2. Why is it reporting an syntax error (supposed at parse time) and not a runtime error (supposed at execution time)


Your parsed query doesn't have a syntax error.  Data it processes does, which is found when parsing that data during query execution.

David J.


pgsql-bugs by date:

Previous
From: Hans Buschmann
Date:
Subject: AW: BUG #17842: Adding a qual to a working query gets bogus syntax error
Next
From: Tom Lane
Date:
Subject: Re: BUG #17842: Adding a qual to a working query gets bogus syntax error