Re: [PATCH] Add --syntax to postgres for SQL syntax checking

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Josef Šimánek <josef(dot)simanek(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Add --syntax to postgres for SQL syntax checking
Date: 2023-12-15 13:09:10
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, 2023-12-15 at 13:21 +0100, Josef Šimánek wrote:
> Inspired by Simon Riggs' keynote talk at 2023 sharing list
> of ideas for PostgreSQL
> (, I have crafted a
> quick patch to do SQL syntax validation.
> What do you think?

I like the idea. But what will happen if the SQL statement references
tables or other objects, since we have no database?

Laurenz Albe

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message hubert depesz lubaczewski 2023-12-15 13:10:58 Re: pgBufferUsage.blk_{read|write}_time are zero although there are pgBufferUsage.local_blks_{read|written}
Previous Message Andres Freund 2023-12-15 12:56:27 Re: optimize atomic exchanges