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.98.2) (envelope-from ) id 1xBGVE-000000036ih-0EX5 for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Sep 2026 18:55:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xBGVD-0000000B0b0-0JVJ for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Sep 2026 18:55:03 +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.98.2) (envelope-from ) id 1xBGVC-0000000B0as-39wL for pgsql-hackers@lists.postgresql.org; Mon, 28 Sep 2026 18:55:02 +0000 Received: from mail-qv2-x10.google.com ([2607:f8b0:4864:33::10]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1xBGVA-00000001mrm-2ISe for pgsql-hackers@postgresql.org; Mon, 28 Sep 2026 18:55:02 +0000 Received: by mail-qv2-x10.google.com with SMTP id 6a1803df08f44-9105d241693so29460816d6.0 for ; Mon, 28 Sep 2026 11:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790621699; x=1791226499; darn=postgresql.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=Zx3XGiKLa3eY0dvjP69L49gxuz8Crorl80I5TLl29u0=; b=egXlhOxFQSsq+Ph+Af6gpCDAWlUjGmAZPzJk6wdNnj5jcpJmIShuQWTAY4RUynN2py RwRmu5cgnSTpB0KcgEeEZG8LrG8ALs65yzP2o46T2ncqY823WIAJd83JnRyzQL5+8xCA uTVi5tghkJL5LNPDtUb+mSl42a+5uSIZLdNZz4VYwPwYL0obpzqTHTBgtz/mw85wJvR0 wqiD8EDM8hHI2+34fb3p8f1yFqTVIsfqYGDoaqf/q2boOCzN0jKgLteUKjtLVhIhptG6 5js0R2ptjry0mR8zqKO5F0xFR9DcjNFSwZL16K1ruH5C9SuyktOea1shezCJ+A9X9UJq X94g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790621699; x=1791226499; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Zx3XGiKLa3eY0dvjP69L49gxuz8Crorl80I5TLl29u0=; b=TxYlJP6dHfyw49sJABxY0xo6ZBQg4b5NY4vW2qFl1/w/bSwTfnAi5ig27UtS9UgtJ7 ga++D+A9Eg8MiWMKXW8FPvhrxTqZ1T5IsG961RhUMdPupF1b0LV5v7q2egivRtpC2ZPR w/BAffg19ngtOu3RcHgUlkSFV70xDSplAHyGTd6qDALibJeU+KpHjhm+XtXgQnrmjIhS wAErG880AZHC5N2AKP7BiiQ6Jwe/x3is5VNNHkYPhjG5NRIvGqtWLTKO4OUqVfyS6h8n iLyCW69qkKiJrFe5TtlpnYtsklJiAiYo6p4YFVd5y3rYhSKnqSWOTe9NlXaef2om0eVA 6vxg== X-Gm-Message-State: AFuF++lKtwiQP4IqunEsgWflM0PGzVpLoRGv1VixYmzizdAzhH/ABasd tvcLNi4Wt3ECYk2HbZ+uzqLaj7K1lMR2sX2LkI3XqCG3LyTladawOV40 X-Gm-Gg: AYBFou38+LhY9/f8aZEGGoZmVdULWjePX+ogJjInr67QLy0OgrlmztdAT3sUHkWvgFF j3+vHJqbnOSj0229uuhuepA6xR5sHAx28Y/oM4Gu9Zv7TnCriBUa7hX8eSl2K6qyv2nd1G35rpp qJ4U9k/rnVbTXwfNc3nkuwQoSxz8AdP97QADgx1/eSav1kZx0GClYzROr+KzdlgsKvAqzJqaucX MT0g07Xq0PojI8+tR2oiaj/qGDPOOvcDi1fCzT+VE/CwiCqxAAVST83Vr0cmzCuGLEz5QOqComv pzc3UXFNSb8bGXtwYDhENVepKTxrB8pc9OJ5u8aaxUxPJeYel5a5LQ8xYTpt1VfuEqGJgueaMrw M32VVfNLc1/LT3AGyN85YfET6EGObnoCvbSN6xp5fzHKwkznJSeRBJGOeciwRXGysiNXTPBvaeD r2ne+oQxuueTuuDW9PiOPLv7PM/wYFUd1uKgWgWnOIpuLedG3rKDhqDugaS3EHTi5s+4GKjpj5Y XxxFbkwmFtaQt5XfObCSfxc2LjwAwcBqRzf/jwupfEx6TnfMKwP8BMHp3CJ+4StmMpEaAkWlb1X hX7OzKWGaBJoN8lp1O41/kUCgw== X-Received: by 2002:a05:6214:5682:b0:917:79fa:21b7 with SMTP id 6a1803df08f44-91779fa2729mr47506226d6.44.1790621698843; Mon, 28 Sep 2026 11:54:58 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-91430dabed8sm87548536d6.12.2026.09.28.11.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2026 11:54:56 -0700 (PDT) Date: Mon, 28 Sep 2026 13:54:54 -0500 From: Nathan Bossart To: Tom Lane Cc: pgsql-hackers@postgresql.org Subject: Re: small cleanup for s_lock.h Message-ID: References: <369933.1777933007@sss.pgh.pa.us> <532705.1778000169@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Sep 25, 2026 at 04:03:30PM -0500, Nathan Bossart wrote: > I've committed v5-{0001,0002} and attached a rebased version of 0003. > Besides fixing some small things discovered during LLM review, I decided to > remove the restriction that only one of TAS or S_LOCK can be defined. > Having both doesn't break anything; we just use the platform's S_LOCK in > that case. I've now committed 0003. -- nathan