Message-ID: From: "dreis2211 (@dreis2211)" To: "pgjdbc/pgjdbc" Date: Tue, 16 Dec 2025 19:57:31 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3894: Performance regression caused by keeping QUERY_EXECUTE_AS_SIMPLE flag In-Reply-To: References: List-Id: X-GitHub-Author-Login: dreis2211 X-GitHub-Comment-Id: 3662151826 X-GitHub-Comment-Type: issue_comment X-GitHub-Edited-At: 2025-12-17T07:51:44Z X-GitHub-Issue: 3894 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3894#issuecomment-3662151826 Content-Type: text/plain; charset=utf-8 @vlsi Surely. Doing so brings the particular test run down to ~5:30 minutes, so a little higher than the ~3:30 minutes, but there's always some fluctuation depending on how busy my machine is at the particular time of day. I would say removing the flag here as well https://github.com/pgjdbc/pgjdbc/blob/eaf8063ef7d87c343c7cd97833b2fc263152d893/pgjdbc/src/main/java/org/postgresql/core/SetupQueryRunner.java#L50-L51 has overall the same effect as bringing back the case block in the switch and sits currently at ~5 minutes at my machine. EDIT: A morning session today with the suggested changes is at ~3:30 again, so as expected.