Re: Feature request: Settings to disable comments and multiple statements in a connection

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Feature request: Settings to disable comments and multiple statements in a connection
Date: 2025-06-05 12:39:29
Message-ID: aEGQAW0ZCeaJzvga@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Verite 2025-06-05 12:40:08 Re: LOCALE C.UTF-8 on EDB Windows v17 server
Previous Message Dominique Devienne 2025-06-05 11:54:27 Re: LOCALE C.UTF-8 on EDB Windows v17 server