Re: Feature request: Settings to disable comments and multiple statements in a connection - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: Feature request: Settings to disable comments and multiple statements in a connection
Date
Msg-id aEGQAW0ZCeaJzvga@hermes.hilbert.loc
Whole thread Raw
In response to Feature request: Settings to disable comments and multiple statements in a connection  (Glen K <glenk1973@hotmail.com>)
List pgsql-general
Am Wed, Jun 04, 2025 at 10:41:15PM +0000 schrieb Glen K:

> In my experience developing backends for APIs, I have
> never come across a case where comments were needed or
> desired within SQL statements generated for API requests,

Being able to garnish with comments the SQL being sent to a
backend greatly aids in debugging queries (such as which
query originated from which part of remote code [or even
when]).

Not that it didn't take me quite a few years
to chance upon that idea ...

Best regards,
Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B



pgsql-general by date:

Previous
From: Dominique Devienne
Date:
Subject: Re: LOCALE C.UTF-8 on EDB Windows v17 server
Next
From: "Daniel Verite"
Date:
Subject: Re: LOCALE C.UTF-8 on EDB Windows v17 server