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 1uZSmz-003x0B-PZ for pgpool-general@arkaria.postgresql.org; Wed, 09 Jul 2025 11:16:37 +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 1uZSmx-00FSUg-LI for pgpool-general@arkaria.postgresql.org; Wed, 09 Jul 2025 11:16:36 +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 1uZSmx-00FSUM-Fb for pgpool-general@lists.postgresql.org; Wed, 09 Jul 2025 11:16:36 +0000 Received: from mail-ua1-x933.google.com ([2607:f8b0:4864:20::933]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uZSk7-006d7w-2n for pgpool-general@lists.postgresql.org; Wed, 09 Jul 2025 11:16:35 +0000 Received: by mail-ua1-x933.google.com with SMTP id a1e0cc1a2514c-87f30519147so1672608241.0 for ; Wed, 09 Jul 2025 04:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752059618; x=1752664418; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=P3PAXgqkVBFC+th9EhPWIWTm9C4Z25XhycMa3Xrth90=; b=S4Lz733hvwNjr+RdFvlaLLZJQnLvIG3gHqFEtGeOut9B8s0H/7cdOb6hwZ/QS2DUWO Z6kwuMJhK2Y+9l8VCRP+DsUqwJRfJUKK4fiD9WA74cVaSpz3Y7gcuGnCDkt3izYd87N2 URCuvSQrG2bbvOnszi93n8ogpLHjYKPfXRuzaPcAcmWw/fShp5ILfL9ghut/gdwmGBOK VLRKEzWEjCW46XqAON9uygVTcbrR9OPecY+t5K3M35HRTm1gJ5zlFkjqfAwcyfaR1BAm q44JpQS8tZI0nwwlFxEPtql7uHSHWsKfvmU7drf93d6IdxQL6rWgLraRUwB1JrebP53a NCEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752059618; x=1752664418; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=P3PAXgqkVBFC+th9EhPWIWTm9C4Z25XhycMa3Xrth90=; b=USIi3lqOEh0tHukJyQZAsSzEC7Qc9vZ2kIuylVvP4OgyevdPj+vEs+kcL4risWUKKj ayZVaN2vueWXKzI5NihrUXW3Nnw/UqGBqJozpCXfoUCH/XUOPb1BftDbsiKpOMi8rf+b AzDRe/ocLisi+faYiUdYJj0DEMYp+ER5J+5elQvgJ1+x+PLpodTODyvW5x8hpfgOzIik XPpibVzHOSe3UilIC+kvh+vquE9IFjosqAfMhMA0/XpgJTZX5ArROWqePQOwqX7iKmdU eqU+zPvOQTylUoclF2cno4O24fNcvEwKwVbHTkjmkYbPIxI/vndd+0Ya48VPCfzuEJEg pKTw== X-Gm-Message-State: AOJu0YyZtVsaVlYUQH6H2xCOcwmXfmklOWD6IwW+IRC2hIYoiv0IIiQ1 F22/esC1I9AWz/uBrXux85f0PS6N80wpD/TijeizKV4d1y1f7lNFVeV1x2H1Qh8LEV8MKHC4gi8 vlT27F2qEAkV4ZSpzUygf9T1sBKqsEN/1/Ju3 X-Gm-Gg: ASbGncs2eQmQhVO5oV7SuwtvkGgMGpIwlCbek5i+oCK/hmRvGxD8NEd78WqKgNd1MyD uw0vRgJ34iQ5w6PUTFoFSMq9zkpY9aQbXXVQi3p6FrSGcK1odnefoYnWkNllMxPYC5EHNRO6NN7 T8vCjb4aojzLuCKbEmUiU5inzgfXxt6o2oInBZF1AoCgZdwITVqKClo9w= X-Google-Smtp-Source: AGHT+IGvMhB2/z6poedcS93STmMbBFBNjV/VGf8co4HSF+pCAlSgiMMo2F1EJhS3ronWTk2m72WLG1zTpQ9n9ruf4ps= X-Received: by 2002:a05:6102:3914:b0:4f3:1d:6b47 with SMTP id ada2fe7eead31-4f54a9fb635mr896536137.25.1752059617425; Wed, 09 Jul 2025 04:13:37 -0700 (PDT) MIME-Version: 1.0 From: Emond Papegaaij Date: Wed, 9 Jul 2025 13:13:26 +0200 X-Gm-Features: Ac12FXwp-6_PbyOY1TJbzF_K93Bl7G3ilyIQBr50cn45w579GjBZuOVSNViIzec Message-ID: Subject: FATAL: simple query "BEGIN" arrived before ending an extended query message To: pgpool-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000001f419306397d2bfb" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001f419306397d2bfb Content-Type: text/plain; charset="UTF-8" Hi all, Recently we started seeing errors from pgpool-II stating 'FATAL: simple query "BEGIN" arrived before ending an extended query message'. These errors started occurring after upgrading PgJDBC from 42.7.5 to 42.7.7. I've created the following ticket at PgJDBC: https://github.com/pgjdbc/pgjdbc/issues/3724 . It was closed as a duplicate of https://github.com/pgjdbc/pgjdbc/issues/3107 , which describes a similar issue and was opened by Tatsuo Ishii. The problem however, is that previously the error was only triggered when using autosave, which is not a common setup, but now the error is triggered even when using default configuration. This makes it impossible to combine PgJDBC 42.7.6 and up with pgpool-II. I do not know what the plans are on this from the side of PostgreSQL and PgJDBC, but I just wanted to raise some awareness on this issue here. IMHO PostgreSQL should either explicitly allow this (in which case pgpool-II needs to be fixed) or explicitly disallow it (in which case PgJDBC needs to be fixed). The current situation is no good as we now simply cannot upgrade PgJDBC anymore (and the same will be true for all other users of pgpool-II). Best regards, Emond Papegaaij --0000000000001f419306397d2bfb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

Recently we started seeing errors from pgpo= ol-II stating 'FATAL: simple query "BEGIN" arrived before end= ing an extended query message'. These errors started occurring after up= grading PgJDBC from 42.7.5 to 42.7.7. I've created the following ticket= at PgJDBC: https:= //github.com/pgjdbc/pgjdbc/issues/3724 . It was closed as a duplicate o= f https://github.c= om/pgjdbc/pgjdbc/issues/3107 , which describes a similar issue and was = opened by Tatsuo Ishii.

The problem however, is that previously the = error was only triggered when using autosave, which is not a common setup, = but now the error is triggered even when using default configuration. This = makes it impossible to combine PgJDBC 42.7.6 and up with pgpool-II. I do no= t know what the plans are on this from the side of PostgreSQL and PgJDBC, b= ut I just wanted to raise some awareness on this issue here. IMHO PostgreSQ= L should either explicitly allow this (in which case pgpool-II needs to be = fixed) or explicitly disallow it (in which case PgJDBC needs to be fixed). = The current situation is no good as we now simply cannot upgrade PgJDBC any= more (and the same will be true for all other users of pgpool-II).

B= est regards,
Emond Papegaaij
--0000000000001f419306397d2bfb--