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 1rA6xL-004or8-FT for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Dec 2023 11:17:43 +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 1rA6xK-00GGlN-7L for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Dec 2023 11:17:42 +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 1rA6xJ-00GGjh-SB for pgsql-hackers@lists.postgresql.org; Mon, 04 Dec 2023 11:17:41 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rA6xI-00A2Tu-0v for pgsql-hackers@lists.postgresql.org; Mon, 04 Dec 2023 11:17:41 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 073865C0167; Mon, 4 Dec 2023 06:17:39 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 04 Dec 2023 06:17:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1701688659; x= 1701775059; bh=/x4eINWRjM+i7fNtKM9tiH/nJEQwEraXU3j8KETf/kg=; b=b TTZGRNcNzoWan0hjqSlLAj1cpNnGYCSC/v9URfpLr8qkuy0WlY5z3seJjHAtieA3 EbFWuWUB62VPdU9gEs8FdjzcmDTp5ehyqSrFt+QwOZjWlxDUWkYnNBNOR/GfIfXJ TAv3xfeO/MDd0wXoZNGRLaAyLnXxtY04DMLsX2wBpmCReZI2Ywn7LXUFxViSAbsg lUWoexukaUFxPY0KECjCEifMCEWZ8igmT++SpKP03mMSTWv9eGVS4ImJ6KOiFyqV X+uOIWwy7R2USkiRK++h/sYYxgZmTt/+tJAIBXRC1zZU/owgC/dF3g9mEaV0A4CO W2RjWAWHaNuvVg/EBzvbg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejiedgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 4 Dec 2023 06:17:38 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1701688657; bh=hj7ShSE+hI3Uan+z8agWpKSMcy3GyfF6SHcKoqSdOPo=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=LrAgPwW5U+yVe39YAsGZ0o7HTlcX9DVoYpKmEU39xHMrVuVxUHswPasGjtMLh0n61 z7jGn+gWzYk+MHTSsM2TII6wRV4Xj7PMviSKNTrjlsOKkPxYS62lrEswR06lv1NBwK iioO8YclOSFA5p/qCEgKQiqEOT14SHEGbcIGrOv5pi4gfF0l3tzccfWKlw2xHnGJFN w21MkW4r/0wjmIJ5aGz2wN69WSzvFu8PCURvTUXVWqkR+4fQs224vb0UM4CIx0cjzm nQkDW/zVOBTIe4uGxyiK7aocMlk02wE2VCHkXubHeONmUZ32vG2SD00Rgp7BF92Ooo rzZBnbDZ0pIJg== Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 7B379145; Mon, 4 Dec 2023 12:17:37 +0100 (CET) Date: Mon, 4 Dec 2023 12:17:37 +0100 From: Alvaro Herrera To: Michael Paquier Cc: Postgres hackers Subject: Re: Failure with pgbench and --disable-thread-safety in ~v16 Message-ID: <202312041117.45hzlzgdk6wy@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-Dec-04, Michael Paquier wrote: > While running some tests for 8984480b545d, I have noticed that the TAP > tests of pgbench fail when ~16 is compiled with > --disable-thread-safety: > [16:51:10.467](0.004s) not ok 227 - working \startpipeline with serializable status (got 1 vs expected 0) So the problem is that we do this: ./pgbench -c4 -j2 -t 10 -n -M prepared -f /home/alvherre/Code/pgsql-build/REL_16_STABLE/src/bin/pgbench/tmp_check/t_001_pgbench_with_server_main_data/001_pgbench_pipeline and get this error: pgbench: error: threads are not supported on this platform; use -j1 So, the fix is just to remove the -j2 in the command line. I'll do that in a jiffy. There's no other test that uses -j, except the one specifically designed to test threads. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ Bob [Floyd] used to say that he was planning to get a Ph.D. by the "green stamp method," namely by saving envelopes addressed to him as 'Dr. Floyd'. After collecting 500 such letters, he mused, a university somewhere in Arizona would probably grant him a degree. (Don Knuth)