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 1t2nNQ-007GCf-0X for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Oct 2024 08:02:56 +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 1t2nNN-005S5w-Fz for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Oct 2024 08:02: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 1t2nNN-005S5j-3L for pgsql-bugs@lists.postgresql.org; Mon, 21 Oct 2024 08:02:53 +0000 Received: from meesny.iki.fi ([195.140.195.201]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2nNK-001y26-B7 for pgsql-bugs@lists.postgresql.org; Mon, 21 Oct 2024 08:02:52 +0000 Received: from [192.168.1.149] (dsl-hkibng22-50ddb7-241.dhcp.inet.fi [80.221.183.241]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hlinnaka) by meesny.iki.fi (Postfix) with ESMTPSA id 4XX78R22JHzyS6; Mon, 21 Oct 2024 11:02:47 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1729497767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gouzSx5mYMdaHHE+TBBc+CBL6LIoImDfM1IFE5dPWcw=; b=mMXdKC8E1BDsX6bbQnsIBAj5bJwuIoQcKFGe1Bik6gTwiM7KQrHN8LvdyMCx5CGQKxhZRu 4xVVMLoB0JzZ+MLUiNRfYgMoVVGqEoje3Ay3yCNF/MWDjRyM9E5/ADpr+W7Vr0FlEdgVbu iatKEhyiPhN7EjeDqVdf+CUDZzPpaqY= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1729497767; a=rsa-sha256; cv=none; b=UYnLDv5gn4yC/AT8EzT0timzLyIkmsZ0rtUibOmiF4R+w2a2CHwCPe5of6BC7h3V2x/lLO bA+7njUYGlPzJ/2MRjhFtytVbnkZ5wX4/+++sLc1k3nDn5bGXZMCQD/EN4AxdM86GOACjz rHYNNrcRrCkp9lXogruNSgvCeczT2s8= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1729497767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gouzSx5mYMdaHHE+TBBc+CBL6LIoImDfM1IFE5dPWcw=; b=gJHs94QpCUoYPeiMmMTqrN1y1nXCK+q8N3Zkh6hRbmlosTdy8brMmatIKh+Uipsj6Wu69A 4kGZ5mtlusKjZih47qCQTtqCYEc8GxGXYoBwr4aj6S5D2fyCZ3Ytg4FtAh+d5VoeaD4CUg YNTxJPSdHB62BO5QVqyg6n4/NsgvE6k= Message-ID: Date: Mon, 21 Oct 2024 11:02:46 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: BUG #18658: Assert in SerialAdd() due to race condition To: Alexander Lakhin , Andrew Bille , pgsql-bugs@lists.postgresql.org References: <18658-7dab125ec688c70b@postgresql.org> <5634e3e1-6e82-b883-ac87-52d7e926a04d@gmail.com> Content-Language: en-US From: Heikki Linnakangas In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 19/10/2024 12:00, Alexander Lakhin wrote: > Your proposed fix (adjusted for REL_16_STABLE) eliminates the issue for me. > Thank you! Committed and backpatched to all supported branches. Thanks for the report and the testing! -- Heikki Linnakangas Neon (https://neon.tech)