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 1utv9y-00GHRB-EQ for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Sep 2025 21:36:55 +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 1utv9w-00BnzZ-JZ for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Sep 2025 21:36:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1utv9w-00BnzQ-88 for pgsql-hackers@lists.postgresql.org; Wed, 03 Sep 2025 21:36:52 +0000 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1utv9u-000OcS-2j for pgsql-hackers@postgresql.org; Wed, 03 Sep 2025 21:36:51 +0000 Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-3f663225a2bso3310535ab.1 for ; Wed, 03 Sep 2025 14:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1756935410; x=1757540210; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=AaMijUQlcQgej6m9FoduMAhDzsdoG5Pgojy+pw46uoU=; b=cMSfxm/plE0SWYEfYE4fj9kwheyEDt3cWPPugvAhV4hu0v0pGZ5qc6ZuheaQM+uYWZ Cgav7OOU10rudsiRVwZT0fc+ShqrUH39iMehp3pBL1y5lzFHd2zj/m7SagXkjlOTap+/ 2nwihRRLneou9S4lWtO0S9MzquqZTS7GLyNDWOgOaAApMGqx4WevqlIVSVNVtzSrauyf tjkwk3FPjRBrs898F+tsNdwwXF/dDO/xzEYDtJyk5+o5yLrqib7N5s0Vygudwivwlu+Q yy6T83eWd5JhGQjuRLdii4mp79M08wwe+7tQpGS13e1lwI/ikFoCsJLtUqQrWrIKdUeC iCJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756935410; x=1757540210; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AaMijUQlcQgej6m9FoduMAhDzsdoG5Pgojy+pw46uoU=; b=eh+ejyFD8TL9gt1rirJnYBPqYlv7Anzofz2Mh7Zz3Yj7E+D/PD1exX6alXnBBf66cW 9TLb/BdSG+uLyX7VblLpzEhlofSU6vsP24V7/Dh9lMt87/3W5D5vDSJC66mfpR5CvbmE S7XcJmF9ns4nTmonYUCOSfEPmwkMl/nW7dRO7fkM+uWjDx/N/APLod4NwOVDbw2266ur JSxw358YbXzduwSFDIkO0A2KAHUhiYo+jPNEQ2YkL75bPy+COeF6QS4RveBfyPjmUYPh 4z1U1JshRdXH8gOpytU7BjdIAeuThO8ypBJq9NpYVwTJ68ef+lR1SWbykhM9oGenH2UF 39Ow== X-Gm-Message-State: AOJu0Yw0tyVscpFkFMltLnbc+0intjqWrMGWhyK1bwdKrcAANGAtAx7P z+0sEILEDlXua7xe0BzIWiLP0fnMuZ6bh6Z4W/LG4nqVdGaD+G3PyinI X-Gm-Gg: ASbGncvZdGgRX4takPhscFxKy3+Wb8ACYsouWuBy0qN8lwdQq5E4x2gExR7nt31Xsql W+2yAc9oZ1heKa45p2Ps4bKNRtsAGMSxlEf/Jg+JPqwkdcyo+2CyA7y7wYyTxbDnLkyrKaelijN CM9KEFMXHfddJ/SK3Cf8gN4t238ZlO11bI5Y4fmO9GHndUFjzhilTKrIlCZNh6dDrP0ny2pxd6D M1wPvGY0mRsdR0TJ4JO2UkEio1sSMqDkuPahb1NOjqudIKXlgJeMqO1W2Hf6p4jsrlTkSONMOFf uu0S2d1IYEQw/HnfuakjNGn0eaOWgS/bd5kORyxzvDkqVyk7PYZMd0tBfFcQuPB1V09sr/jjuOI K5mM9hIrPGdjphM3E/4Jxz9rlUw/diw1t59IS617PZJbO8BMWm/X4iKUzWHKb+Bm6qeTF8ODSps JWAFk84/Gm/uWS X-Google-Smtp-Source: AGHT+IFZStFTPOIjzuHVsiPToOHA9PyAMoM4xMVexM9JeQdg7xDNYCL0nm2aaYg8DBfLjR8uHyYvAA== X-Received: by 2002:a05:6e02:260b:b0:3f2:76e6:9fce with SMTP id e9e14a558f8ab-3f3d4cac24amr305930705ab.8.1756935409906; Wed, 03 Sep 2025 14:36:49 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-50d8f3a96efsm4621132173.72.2025.09.03.14.36.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Sep 2025 14:36:49 -0700 (PDT) Date: Wed, 3 Sep 2025 16:36:47 -0500 From: Nathan Bossart To: Sami Imseih Cc: pgsql-hackers Subject: Re: GetNamedLWLockTranche crashes on Windows in normal backend Message-ID: References: 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 Well, commit 38b602b certainly doesn't do us any favors here since it removed NamedLWLockTrancheArray. Given the lack of reports from the field, I suspect the best path forward is to add an ERROR for unsafe accesses and to fix the documentation, as discussed upthread. -- nathan