Re: [PATCH] Add --syntax to postgres for SQL syntax checking - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: [PATCH] Add --syntax to postgres for SQL syntax checking
Date
Msg-id CAKFQuwbHvwDVTN8LYwqwitDxP_KJQj76yEtOr=EZrffLFyQb5g@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add --syntax to postgres for SQL syntax checking  (Josef Šimánek <josef.simanek@gmail.com>)
Responses Re: [PATCH] Add --syntax to postgres for SQL syntax checking
List pgsql-hackers
On Fri, Dec 15, 2023 at 8:20 AM Josef Šimánek <josef.simanek@gmail.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.

pgsql-hackers by date:

Previous
From: Josef Šimánek
Date:
Subject: Re: [PATCH] Add --syntax to postgres for SQL syntax checking
Next
From: Josef Šimánek
Date:
Subject: Re: [PATCH] Add --syntax to postgres for SQL syntax checking