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.96) (envelope-from ) id 1vRlL1-004M8P-2d for pgsql-hackers@arkaria.postgresql.org; Sat, 06 Dec 2025 06:00:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vRlKz-00B0Ul-0k for pgsql-hackers@arkaria.postgresql.org; Sat, 06 Dec 2025 06:00:09 +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.96) (envelope-from ) id 1vRlKy-00B0Ud-2f for pgsql-hackers@lists.postgresql.org; Sat, 06 Dec 2025 06:00:09 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vRlKw-003OZ4-1J for pgsql-hackers@postgresql.org; Sat, 06 Dec 2025 06:00:08 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-5957ac0efc2so3220167e87.1 for ; Fri, 05 Dec 2025 22:00:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765000804; x=1765605604; darn=postgresql.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=eCea6dlx2w0eDXK4TpBCWbHEptS0lzFhoCih4h5M+9k=; b=WMtNGWUPOVCB/f3B8euJk2UuRe/DIyNA/E/i6X1qBCtqtRKWV8oon13B58BuVevhY0 0T0T1yry6FLmK+D0kqekMB1qdBCEw7bqDcQF47/i5V26EHkXt1zBesTIZOwEJrVSKUAe JofgRKyijpVUyLseTBp5SEf0cl0HH2oHScvFO9d7lGgrY2k3E9b1LSvyvSFnVWtrRkkv LLR5zxa81Ea2tZhG7lNxlfpr9wkSV5jTQLgOgg8zzt0p2v31WUrbbP4QfjjXCeaT+Cb1 ZvL0AQdyTKTbTPY4S1IhoVDxZtqQusWG4aUkgYcx7RRMWyhuuJL1t/t2T96N5cJHUIzG rEdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765000804; x=1765605604; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eCea6dlx2w0eDXK4TpBCWbHEptS0lzFhoCih4h5M+9k=; b=dAotk3gqriBrAaQvZzOeg27KUXuH3pnt7IyrsE7PyFOzdThaKIhwpp6TBwlnmsKqFa OuS41e2utzcKGIM6U2uLuBRsvRNZirqDHNJDxEvbQK4xRfvXv9+qb/CzQRD7TCn5ymSU 8SROIFfmljiiccysG29MG32qXBeM6yxmzpG8ucBgP59dJ7Rkqz2hACPq33uuOCfoJ1rc 1hdU2J5xkdGP9+8KmqLvJx8gtSUzPspLxpYUsDomcwI79NfQlOXSxSHL3JYUJOArowFm r6hQ22XnaZy3KzLHeFA20knaNHdRCct9cl7w+SpOBKFYb+I8QphRZc7rWxU0rLe3JgGO XChw== X-Forwarded-Encrypted: i=1; AJvYcCUO4h66iZxJSQH7a+8SJ1XnQL6ytExBzitHZxUtpOfYcutE+z3zixOlHdMRN54eC1TXNar+yoZYh6PGd0WU@postgresql.org X-Gm-Message-State: AOJu0Yy3UYgkZsxQ3g/8lDcauOeFTpn2jV5ABZNoFmMkJBWWnhs6nqHc 58QyRcyeHMXO/GauFTRlQjG6ODKMkOYoFTP3e1jjm+t8KvDNpzl+0QWx X-Gm-Gg: ASbGncvHB7wg7WBHd4hAW9Ssa+LxuSg9E8PEiz9HvYEE+CgEH1yJWKkJkxCM1w34uMP rSy4lKiD7ZLiILLj4M4V2gqD04BnXaGtsXc0wdvn3c4uKm+KQWHKlr9dzhdE/PnVt/ZhU1aXO/1 CBq7BncCG0Qre15/2BJ7LPEAxHMi3JqmN9ImQdwKjYgB+mJ4ueC1COr01pA2AgNOvwZygG/xMcn lXmbnUZWem17y8OjlKFJKRXwRBi7INEx6Tm7DVqQfCyZPH2LY0a7O7MaSNqMazqll5a7CO13Zzg EjJKV9pGvXOPk/O0CjXE/ZYfDkIiMp3I0PV0QpqDHh71G7Q0fjPBYasujkTVSDreAGPRuHJ9/Oo d705DN3ZhWo1kYDuO7UB1+NLrG4asDw5M+KjH6S0kxdDGsJtzcx5WWzVqy5hSEyjGnvEAaFq8vg VGOr4D2V3CbgCX X-Google-Smtp-Source: AGHT+IE22oIMYom8Ut3bzUeYecch5At9i9D12ySw6fuwAvGF+IL1mVLQ38Qp/SO6lwk7JFFAjgx9kw== X-Received: by 2002:a05:6512:68b:b0:594:48e6:26b8 with SMTP id 2adb3069b0e04-598853caf93mr444738e87.39.1765000803285; Fri, 05 Dec 2025 22:00:03 -0800 (PST) Received: from [192.168.0.50] ([89.149.93.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-597d7b1a63bsm2144183e87.1.2025.12.05.22.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Dec 2025 22:00:02 -0800 (PST) Content-Type: multipart/alternative; boundary="------------GozTQQNiZu3ZrrHjAz8hGhK5" Message-ID: <17622f79-117a-4a44-aa8e-0374e53faaf0@gmail.com> Date: Sat, 6 Dec 2025 08:00:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Issues with ON CONFLICT UPDATE and REINDEX CONCURRENTLY To: =?UTF-8?Q?=C3=81lvaro_Herrera?= , Mihail Nikalayeu Cc: Michael Paquier , Noah Misch , PostgreSQL Hackers References: <202512021255.r3ouzsfyxg5r@alvherre.pgsql> Content-Language: en-US From: Alexander Lakhin In-Reply-To: <202512021255.r3ouzsfyxg5r@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------GozTQQNiZu3ZrrHjAz8hGhK5 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello Álvaro and Mihail, 02.12.2025 15:07, Álvaro Herrera wrote: > Thanks, pushed this one after some more editorialization. I've discovered that despite removing FIXME (in 90eae926a), the error "invalid arbiter index list" can still be triggered with: CREATE TABLE pt (a int PRIMARY KEY) PARTITION BY RANGE (a); CREATE TABLE p1 PARTITION OF pt FOR VALUES FROM (1) to (2) PARTITION BY RANGE (a); CREATE TABLE p1_1 PARTITION OF p1 FOR VALUES FROM (1) TO (2); CREATE UNIQUE INDEX ON ONLY p1 (a); INSERT INTO p1 VALUES (1) ON CONFLICT (a) DO NOTHING; ERROR:  XX000: invalid arbiter index list LOCATION:  ExecInitPartitionInfo, execPartition.c:863 The first commit it produced on with this script is bc32a12e0. Best regards, Alexander --------------GozTQQNiZu3ZrrHjAz8hGhK5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Hello Álvaro and Mihail,

02.12.2025 15:07, Álvaro Herrera wrote:
Thanks, pushed this one after some more editorialization.

I've discovered that despite removing FIXME (in 90eae926a), the error
"invalid arbiter index list" can still be triggered with:
CREATE TABLE pt (a int PRIMARY KEY) PARTITION BY RANGE (a);
CREATE TABLE p1 PARTITION OF pt FOR VALUES FROM (1) to (2) PARTITION BY RANGE (a);
CREATE TABLE p1_1 PARTITION OF p1 FOR VALUES FROM (1) TO (2);
CREATE UNIQUE INDEX ON ONLY p1 (a);
INSERT INTO p1 VALUES (1) ON CONFLICT (a) DO NOTHING;
ERROR:  XX000: invalid arbiter index list
LOCATION:  ExecInitPartitionInfo, execPartition.c:863

The first commit it produced on with this script is bc32a12e0.

Best regards,
Alexander
--------------GozTQQNiZu3ZrrHjAz8hGhK5--