Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWgSJ-0001qZ-G6 for pgsql-bugs@arkaria.postgresql.org; Mon, 27 Feb 2023 16:34:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pWgSH-0004M7-B6 for pgsql-bugs@arkaria.postgresql.org; Mon, 27 Feb 2023 16:34:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWgSH-0004Lj-2u for pgsql-bugs@lists.postgresql.org; Mon, 27 Feb 2023 16:34:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWgSA-0006W3-5S for pgsql-bugs@lists.postgresql.org; Mon, 27 Feb 2023 16:34:23 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 31RGYGHq371963; Mon, 27 Feb 2023 11:34:16 -0500 From: Tom Lane To: cherio@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17810: Update from 13.09 to 13.10 breaks SQLs with VACUUM In-reply-to: <17810-8eb7b4e1b7a68e1a@postgresql.org> References: <17810-8eb7b4e1b7a68e1a@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 27 Feb 2023 15:27:42 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <371961.1677515656.1@sss.pgh.pa.us> Date: Mon, 27 Feb 2023 11:34:16 -0500 Message-ID: <371962.1677515656@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > My system has numerous SQL scripts (each script contains multiple SQL > statements). Many of them look like > UPDATE ... > INSERT ... > ... > VACUUM ... > These scripts are being run from a Java program, with AutoCommit=true, via > JDBC as: Sorry, you'll have to fix your scripts to do that separately. (It might be sufficient to add COMMIT before the VACUUM.) It was a bug that we didn't enforce this requirement all along. > The same SQL scripts are still working with the latest postgresql 14.7 I'm quite skeptical of that claim; I see the restriction being enforced the same way in all supported branches. regards, tom lane