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 1tVBVm-006CqN-Me for pgsql-general@arkaria.postgresql.org; Tue, 07 Jan 2025 15:28:55 +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 1tVBVm-004l3s-6x for pgsql-general@arkaria.postgresql.org; Tue, 07 Jan 2025 15:28:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tVBVl-004l2q-PB for pgsql-general@lists.postgresql.org; Tue, 07 Jan 2025 15:28:53 +0000 Received: from mout.gmx.net ([212.227.15.18]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tVBVi-000LlW-2N for pgsql-general@lists.postgresql.org; Tue, 07 Jan 2025 15:28:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1736263728; x=1736868528; i=d.frey@gmx.de; bh=NHVzxwiTF2hfOzDXkqAG0sorXp8wOwRXpCnOWeFxyUY=; h=X-UI-Sender-Class:Content-Type:Mime-Version:Subject:From: In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id: References:To:cc:content-transfer-encoding:content-type:date:from: message-id:mime-version:reply-to:subject:to; b=Ygx4wPSHob7ED4YbP3Wnw32WPncA3emwIlZwBmvRJeYWvU4Z8qLPdyyNmc6AWqL1 TN4vPgbm368HtP2syko1a87ioK1eU179LQ34nz1+xwh+3AZxnA+eIHgXlSX2QYink CWhrpAAKkx1L5AlDoS8kz/mpZk8NMUUG67rtBdxUI8fHyYA3hXUBVpeV45tjQr6YX m9acyUekwziO8SAUv/jxa5zypmUKdiXYBWZRBtcHLWKX/kso5VnY2CfRvv/38gKRB KVkcfHFrq3aNxoRY93cJbLgxAUjlRvzXdmJkva+l24RtXKbWALCZhNe+3S6JkzSIP Ts0frfMU0K8bKdtjZg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from smtpclient.apple ([79.241.194.251]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MQe9s-1t8aiU2cWE-00RXYZ; Tue, 07 Jan 2025 16:28:48 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.4.3\)) Subject: Re: Pipeline Mode vs Single Row Mode / Chunked Rows Mode From: Daniel Frey In-Reply-To: <68c8b6c6-ae2e-4875-a08e-e6a26a04678e@manitou-mail.org> Date: Tue, 7 Jan 2025 16:28:37 +0100 Cc: pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: <77DCA104-4412-4960-8BE3-08F87274436E@gmx.de> References: <68c8b6c6-ae2e-4875-a08e-e6a26a04678e@manitou-mail.org> To: Daniel Verite X-Mailer: Apple Mail (2.3826.300.87.4.3) X-Provags-ID: V03:K1:bZfDtfQ1nIqDrbtfeHbnPM15hZimBtOwCrSFmJF0fH+Piz6dfV4 FUPjmAcLUTuMGKcnudGVBkPGVXNusVe3/JB4jKqM61d5ZDEElb883CJzl9dA43V6mKGEx06 wQelvyBLEn9bPzkBg2q5E0uVc+kG2AWCe+EQ5Xz+AINi0rbIyImDIjsFqI0410Gl4vHU7d7 p4KU5gK2A+w2+0SGvPO8Q== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:wk/blqyKEaQ=;hM3JlXXRxMWmmnAsPKE2uGK62QI uhar4X3RgjZF+kTSN0ni3DJmMTNdQWulldsWObbZ2CQi8gpMx0e21gaMlr9dUevVKuj2PpujE Dw0lTMPNvkxdVAbjUvdRST2deP6/q0XvLzPMCKzERJHhCzxwr+NNzZqnOf+EG7MWknBBVii/l cN0/UfPfUF5jyitDAGcK7Ehl0pga5mlxZ2AAmK3UXIcffFT1rkD+Slhst2cLFatCS/pjYtK9D 8+tZKVV9B+l11WVupglkfcr+DWZvFjUhCIWGj9iYsFvggva0uGatgPOD1RaJnT2aX2S21wnIL Hr3v9+o7M6Zp7HoSwqUgX+6wKsvzF5bXsDnaY8fYxjn6xtKs/3pho4XuFfdAR20Q771nybyBX cC6y3MH3L7vPmM2JbiGQkPn+woEejDKzRGWiiFsjrOekqdROd87vvY5EKANeMq/PbCTJMDm1N yeAAKalJtWh24m0wUuwACJBQLEUu5Q8KW1g5BX/2zyK/UZ9MGZT/DvWfmr1joUJC+uXErygbr JTJs+FrTrO3Om/V6yMv5zyYALJUI0MB59d79WFwN8opWRNr2urVkw5jOXn0hB2dPJhfA16nOZ UX9U2BfsFKnmEWnR3AqHy0ozymVkZ9fu12KiT0xW/ZRCeCFFFCiAGLI2j7/UsXh88NhkO1T99 wNIPzmFXUPZiafzDEvkdO6mgAsGF9+nDgRxyikRZO0L3ERlOPS0ZwjYUE9IJ3uSygCu8fjydS GsTwFs11DEnS8mrqy6hPsj4VBfJo3cKHtNYLmzcuNvpqH3/WTK+AeBfqot1aVQaQ9ydXMeLz7 R5oAH1lsmeZlysE5mUm5Vc5EUCBzc8n709qv6xakXCIsozW7/dfebvoAN7oxZcZ2rj/x/nIOL vvPnhLjlOvllesCyIG3Bx8uYk8iZXROnl2y4x72rDIxsMJUo5cAXOMFi5i5Z6XgeP/gYe4HWJ +RoVFRsAjDSjLIYO9am4QiJ9oHW2laaKpyHj1KKNRSaWgJwX6veQ4kJNbc7MyIM55n7pUeT1v nO3F5icyuutxpS6mtxN1ZExLekxPYZiGvunhEnUhZ1iLgVrl91+PslzMEabS6O+4XxVUh3/zQ zzwHpOAHNKWSnB+8PnsII+rDo/OWg6 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 6. Jan 2025, at 20:47, Daniel Verite = wrote: >=20 > Daniel Frey wrote: >=20 >> I tried to understand the interaction between Pipeline Mode and >> Single Row Mode / Chunked Rows Mode. It seems that it works >> sometimes, but I don't get the feeling that it was deliberately >> designed to work consistently >=20 > It's supposed to work, and there are regression tests in > src/test/modules/libpq_pipeline/libpq_pipeline.c [1] > that exercise the single row mode and PQpipelineSync(). >=20 > You might want to compare your code workflow with how it's done in > that file, and maybe submit a bug report with your test case if the > conclusion is that your code should not error out. Thank you for the link, I will need some time to investigate and to = figure out what is different. Best, Daniel