Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uOtwX-00DJu8-2J for pgsql-general@arkaria.postgresql.org; Tue, 10 Jun 2025 08:02:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uOtwU-001eqv-Tx for pgsql-general@arkaria.postgresql.org; Tue, 10 Jun 2025 08:02:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uOtwU-001eqn-J4 for pgsql-general@lists.postgresql.org; Tue, 10 Jun 2025 08:02:47 +0000 Received: from mail-oa1-x33.google.com ([2001:4860:4864:20::33]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uOtwT-001CP8-1k for pgsql-general@lists.postgresql.org; Tue, 10 Jun 2025 08:02:46 +0000 Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-2c6ed7efb1dso3158781fac.2 for ; Tue, 10 Jun 2025 01:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749542562; x=1750147362; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+LlQnbkuUPPLaywx0bSG6SCKgYsW6czxo/xOTX4H83c=; b=TXpFrVRe+Ae4yY7E83xiS91VvZ2QSlmMrHiCTN5ZsfVbQz0v2F4yRb4jN0A/cYa1zZ Qku2QPfWBOMrobNlybC/YFrP0hclRqIOBns2AZ75DVrAZwoFAL1ucaRLd/LCvNQiSqIG +/OtIu/TRyTYsXqOkMwucwL1IA9I2F3QnMtvZHjoOrsbQOWNZ46XcA0RP7QMpNIDBSPW uQ65RCx/gIIDHTFlwltuRfxIf8Q7HXvTefnbPoOez104gkI+ufY/g/SodPFzQRAg/z3M rc6TdOMh4C3t2Y/FgoWgjvdriJ3RNtodxS+PiSF1+oL/UpSxnpmk8DZOWPJYeKELDMX6 /SeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749542562; x=1750147362; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+LlQnbkuUPPLaywx0bSG6SCKgYsW6czxo/xOTX4H83c=; b=uvtpGFyL033hbGK5MPWn+6juWZrW/eiQwGaJ3e8V3+VwWuIFMoyo2GiA82KMQpfjuL wxaoxL2R7P/U0LPcfR0wDqxXvPp8l7Eet71b2x58H74fiHdpVPJ8iLRvLqmifyeb8dZW 5mV3Q3rnXHKifKLZAje/syKJ5Q3jEXaVGigpB4goccYn4ZOea0LR49PbzBURE+B+vkQ0 c2hv8yadsdiYJsNIipG3drRSTiFjWtRpMgYuZKKhuxcyeXrfgVtxFbQpEUD/UjoVJUI3 //HF8kRttOEFsgG2QaXNIxGDIbeqOU4aDmSg6pBE3mOXHvG9/0sZWLLdRrUz8RMxFlL+ IqHQ== X-Forwarded-Encrypted: i=1; AJvYcCVCn6ugZ+Iu1TN3u3+TY/QW3roC3bqhpGC4FhtbyRnVpWZtbGiQcjnPpufAGjRwVnHe00f8rPyoYzgawRZM@lists.postgresql.org X-Gm-Message-State: AOJu0YyhjsBetzgao6Xu9FbgwYlamkbk0rpMhHUsZQxkHa77ZfZ32ro7 z329vx1EIhC1WLW+jusQMGA4wMIUAerX38GuzN7KViXjElGxHjMWo+cH80fWSZGrMYutIhH2UhE teTBQadKkeCpiK3vGTviO1ndPTF2i1bI= X-Gm-Gg: ASbGncsBdOpKG8v13VLRjTe267bpCoVB98KVcloF3D9mBd7iqnK38JZ5tykevVKEYgo 6ek+H692uJt6Mn7FbqK3eGY36F50Wey7yCl4XqMlPnjxOraNtSEmUzXImr8F0h3UG/zRKmipDh5 QMF3G3OWecuhUEJ7u1i6IaO2wiZNt/yXx/7Gg1NBapoxaUUQ== X-Google-Smtp-Source: AGHT+IEf7MzMvwibXkINkhXblzO7i7oFUVZbhz+IYS296S8wZt/acjQ7Mwkv3AgfSzH0vP0iqT7qk9bNGDP6SZmm94Y= X-Received: by 2002:a05:6871:d113:b0:2c8:340d:1076 with SMTP id 586e51a60fabf-2ea011e6f6bmr10070337fac.32.1749542562425; Tue, 10 Jun 2025 01:02:42 -0700 (PDT) MIME-Version: 1.0 References: <1079732.1749078352@sss.pgh.pa.us> In-Reply-To: <1079732.1749078352@sss.pgh.pa.us> From: Dominique Devienne Date: Tue, 10 Jun 2025 10:02:30 +0200 X-Gm-Features: AX0GCFsG1Rybf6M2-6AssMqzF8xUeYYsLt4Qr0YfNopJHo-k5q-sPVkj6WpLFJs Message-ID: Subject: Re: Feature request: Settings to disable comments and multiple statements in a connection To: Tom Lane Cc: Glen K , "pgsql-general@lists.postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jun 5, 2025 at 1:06=E2=80=AFAM Tom Lane wrote: > > Provide a client connection option (and/or implement the backend suppor= t) to allow only one statement in an execute request > > This exists already; you just have to use the extended query protocol. Hi Tom. Can you be more specific please? In the context of LibPQ, in case it matters. TIA, --DD