Re: BUG #17842: Adding a qual to a working query gets bogus syntax error

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Hans Buschmann <buschmann(at)nidsa(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Bug List <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17842: Adding a qual to a working query gets bogus syntax error
Date: 2023-03-14 18:19:32
Message-ID: CAKFQuwZeb+TFWNsaX3Mo8g3qK8AA_Fdzw+wjpKakx4Siq_oCWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Mar 14, 2023, 11:12 Hans Buschmann <buschmann(at)nidsa(dot)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.

>
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2023-03-14 18:25:18 Re: BUG #17842: Adding a qual to a working query gets bogus syntax error
Previous Message Hans Buschmann 2023-03-14 18:12:02 AW: BUG #17842: Adding a qual to a working query gets bogus syntax error