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

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Josef Šimánek <josef(dot)simanek(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, 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 15:31:32
Message-ID: CAKFQuwbHvwDVTN8LYwqwitDxP_KJQj76yEtOr=EZrffLFyQb5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 15, 2023 at 8:20 AM Josef Šimánek <josef(dot)simanek(at)gmail(dot)com>
wrote:

> (parser is not available
> in public APIs of postgres_fe.h or libpq).
>

What about building "libpg" that does expose and exports some public APIs
for the parser? We can include a reference CLI implementation for basic
usage of the functionality while leaving the actual language server project
outside of core.

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josef Šimánek 2023-12-15 15:38:16 Re: [PATCH] Add --syntax to postgres for SQL syntax checking
Previous Message Josef Šimánek 2023-12-15 15:20:43 Re: [PATCH] Add --syntax to postgres for SQL syntax checking