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

From Peter Eisentraut
Subject Re: [PATCH] Add --syntax to postgres for SQL syntax checking
Date
Msg-id 84fb3001-d9ee-49f4-9b01-5e4358d59b3a@eisentraut.org
Whole thread Raw
In response to Re: [PATCH] Add --syntax to postgres for SQL syntax checking  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 15.05.24 21:05, Robert Haas wrote:
> I don't think it's at all obvious that this belongs on the server side
> rather than the client side. I think it could be done in either place,
> or both. I just think we don't have the infrastructure to do it
> cleanly, at present.

I think if you're going to do a syntax-check-with-catalog-lookup mode, 
you need authentication and access control.  The mode without catalog 
lookup doesn't need that.  But it might be better to offer both modes 
through a similar interface (or at least plan ahead for that).




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: An improved README experience for PostgreSQL
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: PostgreSQL 17 Beta 1 release announcement draft