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 1thzqg-009mVL-Di for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Feb 2025 23:39:26 +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 1thzqe-001qzE-BW for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Feb 2025 23:39:25 +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 1thzqe-001qz6-1Y for pgsql-hackers@lists.postgresql.org; Tue, 11 Feb 2025 23:39:24 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1thzqc-000LEr-13 for pgsql-hackers@postgresql.org; Tue, 11 Feb 2025 23:39:24 +0000 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5de6e26d4e4so6419321a12.1 for ; Tue, 11 Feb 2025 15:39:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739317161; x=1739921961; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Xxje08VlA6syjFUz8swGmupZaJyIcedv6AXQZtbxg4g=; b=C1eJhoOpA4UaaEVOJ5WZ0h7vAg/LFFOtJZB5v4QzOZrTuzg4cnLN+lJo30QOJvGZU+ DLPs+sQ4m7HWP5GMH7Eyt7WbE4J4COzv/Hhdj/dVvb3Fg4Xs3W1Jbb0vq4YTosmOJ2R4 ESDnlj+02/Br7Fl6kBIWcXjxFLinZZk7mNtOV9P3qLFXe65AuFtXJHchWrXg8Dl4MGjt K5CKGIs690li0NvBPf5dmPWLKV/0OaTm8TlvtuoRreSb1CJAHx2J4JH0wAwM0DA72Gfm bvQhYIRyPKyNdgBHN4t7DlYbCUOm6sE8RP06bbfuIdEkj46X/eiQLWs1NPvfVbHiWQnK aufA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739317161; x=1739921961; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Xxje08VlA6syjFUz8swGmupZaJyIcedv6AXQZtbxg4g=; b=wvkg1bcf6q3PCg74gSf1e34hgYXMs6veEAUz/fV1jD1xv31aROWaKGLNdKy9zNo7dJ xJjbdGEDm9nembM+oiwynwbbxjey8L5CgL2zrwCA3UZATVvyTkC+y4Hs3+7h2lYXf4R4 7tFzTCC1l8ByPfAV9I1wYl+fklsT0l60talRIFKwAqLde4JYo+/h2jTcHL6ftwkQMyhY m36RDW0/5t9cu5C/c2CMxXYFrM+QUzhY0V44+Cus+Lz7TL/gTNzOVzfZ4wWnZX5Q4942 sOEsuJ+xDfY0rWyIk177Qgspg18pbIoCg2zf9GgzmyNLQ9zvF9aNZy/Rx38ER36SN0JU actg== X-Forwarded-Encrypted: i=1; AJvYcCW9owlUf8HaVCnF/U9T1HITCBqLt/wGx4ZqSH6qtp417//l/iLcgfGwoUfhbXEUnOBOQ5Fvq3D4kQEWAlMm@postgresql.org X-Gm-Message-State: AOJu0Ywnw3NrH5nCeGByYUTVLcMybDDM7MTsB/Q5l2dZ5VcuSj0hxzDJ 3zGIGSBgGAhW2MJGu3NNfgyQ1JHgK6SgU104HgmEvC4jLC8Y9g3LBeNoG82dnmM2cG/eH40mcl7 s7UcQAMkIqqalNCTPDdH3526v/+U= X-Gm-Gg: ASbGncsq1DXY140LJXEWrTUPzvPT//MuVkNYyymIX40o5FHfZQrP97XBKVnVmeE7sGX apqcDG8BzAFOGsMtF/0FT5ZMkNDaj0WqEF1asUdBd14KkHm6IQb0o4i7r0rJVx5nftxk5aZQ4 X-Google-Smtp-Source: AGHT+IHw1zNZm3QprlxWyQ6C6ALqI7KiI7OniYgfhpno5a4WOk8qr1zogpcWYQLNvW8zNbp7ZglXnODfKN0YDsxDypk= X-Received: by 2002:a05:6402:5112:b0:5de:a8fe:a443 with SMTP id 4fb4d7f45d1cf-5deadde7a0dmr972319a12.25.1739317161362; Tue, 11 Feb 2025 15:39:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Michail Nikolaev Date: Wed, 12 Feb 2025 00:39:09 +0100 X-Gm-Features: AWEUYZnOfE-b-ITPSkJc6J4ihHiILpQrORXfjNh2uwkWpAjWQccKqP4ewOICs4A Message-ID: Subject: Re: [BUG?] check_exclusion_or_unique_constraint false negative To: "Zhijie Hou (Fujitsu)" Cc: Amit Kapila , "Hayato Kuroda (Fujitsu)" , PostgreSQL Hackers , Andres Freund Content-Type: multipart/alternative; boundary="0000000000008e0aba062de655c3" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008e0aba062de655c3 Content-Type: text/plain; charset="UTF-8" Hello! I realize proposed solution does not guarantee absent of false negative cases... It happens because I am looking just at XID values, but them have nothing with transaction commitment order in the common case. I'll look for some other option. Best regards, Mikhail. --0000000000008e0aba062de655c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello!

I realize proposed solution does= not guarantee absent of false negative cases...
It happens=C2=A0= because I am looking just=C2=A0at XID values, but=C2=A0them have nothing wi= th transaction commitment order in the common case.

I'll look for some other=C2=A0option.

Best r= egards,
Mikhail.
--0000000000008e0aba062de655c3--