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 1vzyJw-001UYJ-1b for pgsql-general@arkaria.postgresql.org; Tue, 10 Mar 2026 14:44:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vzyJu-003yU6-0W for pgsql-general@arkaria.postgresql.org; Tue, 10 Mar 2026 14:44:26 +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.96) (envelope-from ) id 1vzyJt-003yTx-2Q for pgsql-general@lists.postgresql.org; Tue, 10 Mar 2026 14:44:26 +0000 Received: from mail-oa1-x31.google.com ([2001:4860:4864:20::31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vzyJr-00000001z0M-4789 for pgsql-general@lists.postgresql.org; Tue, 10 Mar 2026 14:44:25 +0000 Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-40ede943bf0so4456982fac.2 for ; Tue, 10 Mar 2026 07:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773153862; cv=none; d=google.com; s=arc-20240605; b=cDvCSm241oGheb+N4MT/10zo8OJivT7g9DZM0bI89XTLnlaYnPC2SdaO7Ok51teIln pH9k4OJVfT2zlYj2Tv4PnBGzoTEHwjRWnpRZ6y0h9KxWav5zfxFEip4iD7QHvOL5xa7r 1NDhjf+IPTU1kEm2kEYky0SjufCJxQ9cXDTZ+xWDtC8wOp+9r9TwPk5M7QCeTS19DpLS YYxGDUKs/9fLgxEuyJ1bSNdR6B75BztGTtYpmq/EpfMwwWFmOBjKWMyUm1EfLWZD70eq UO8WB1PR0nLAYXEbMSwDucDYjvfeKVM+PG5houvaQ5Cj/t6sZCKbt66MDZswcLOcDGzE n89g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=AFO4JQYWcjKhGdV8XlmgMq3OFHtAb/I+0b2qRYvdXHw=; fh=bYTDkfcoj5SUMxo1iOuRdOtoynmceJen7WMsWU+cp3M=; b=dZCHOOyyTvpRVWSpL7Vy0gkMmYrcyll0+y7GnfSi5WXuoJTztSyPzMqb1xV5vcfvok QvtfPrM/+RfhpGo9os+W39dYPUFx4zRhSLlrELzaRm3Pu8ehTUYJ2/8BU2OChnYU3tDt zrZR9ymuiX3SLsUbnGvl4XqZN7AKsXV7znwWWONuYPWnpgcnWjyiIbHroQkaZ9S8kmCX mMeSgozcjKalAkLurC/XMpO8MohoJWGDK7zon81B9DBZAqYXj6P+l2/qYeH3o1k0+Go0 v5gmvd+X91JqDZB9369WigLsooESBc2xOhzHpMAds08qLNxDC3/3hPWG2wErXBeepVY2 ltcg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773153862; x=1773758662; darn=lists.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=AFO4JQYWcjKhGdV8XlmgMq3OFHtAb/I+0b2qRYvdXHw=; b=FNBS/XUcQVSOnraUZGS7GbsztwLxsUmxade9KM/0XykBD0APhaHAC7T8C6j1g+klTu c1VG9VlQhZKDUpDOl8g0pRJn9/wTO/m/DihHdmOUVs0MqMiJwK2dR+0Z46LuE741vT2X GWx/LE8wyawGxKwCocK9QETJjOszL43Y5/Tsh5RBcKv9dsJOUNWQ/ksP+Ur0iJ4ZG9Q7 /VscnLqVLF2bmf3Dnl96+a3jAPx6ngdOyfrjibvt469aiO2l1x4NwtLDNvC/f42lfcBt QuiPyv+ftoAK7vL1o3xCcDyE2CipueaZ7N77a457XEndgUVsv10eJVpE7tupqvkOt1ps y1fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773153862; x=1773758662; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AFO4JQYWcjKhGdV8XlmgMq3OFHtAb/I+0b2qRYvdXHw=; b=e+nTYWY1HlXdSlVaC0w27+9j2CjorFbuqtkIslY0UYnpjDEXHooCqwR7OK0E2igjd5 Z/DGQnjHNN9YPFPnGoXvcPA7b3Vw/TmNDc8164CnFUu1XlzdA4sn5I1VjXJBd6B22eLk bRht32eXX7MVizQtaH/TKiqweqP89WZg4U9Iq8ZnpGElaioyKaL6q8GA0TIa5hKhgcnR 0y3JO7YOP8y8qwP9mx9PysM2aHt3CpQuANUmmz/xdYrUK/ozSzTFLyAEESyGIA6fO2il wLMQX3r/uyvRpo+u2Tu5WE8JbhUxcKMyPNr8MMsrnhJ0+Ol2U11BEvlumH6pnTGUJL24 34OQ== X-Forwarded-Encrypted: i=1; AJvYcCWP2/yjIBsgP/+gFH6dEsPWVYZDfwGjx3WN9E5wVyTuuF/hLIRCvKEPvp559kO/FM8IUeU7+o1R2TbPxf3w@lists.postgresql.org X-Gm-Message-State: AOJu0YxxdxZTyVHZdjzJKyTggS5bV0pSXP+qEmTkcJoEXMR3FPFNyUtC AULqCgVqTryRwIi4JzCgsStcZ1p/p2X7WFCKkWhdk5+/WX6nQYFwwckOP+/yJS4aEDVbjnDi31C zHVUdOmfCrMOeW2UwAtVcsanOZ1LGx8Q= X-Gm-Gg: ATEYQzxHaO1yzqdB9PNiJE3yqyHxxy7daQI6kltbeXvcqWEDR7PPh5fNoAFpgl9BjEv q9hty3rhzBBIN+DTxKEp5dnsboDaJp2MjrbXSmXGf6L8KgiWXt4OovdtJiknL5qp3ZRBZy1wz/M enPS+yx4twpXeB52OLLpq+FPhXPintJKYMMnNkVMnEmeRl5/kKvJbkayGoA75pKEup0Ce3qmamH ZeeKydM2DzYxm4mbNnLOmGu+uTIKt57U7jkCaam0CvepcbSpDYkIGILTixXIgs2HF+Pk4hbJ8Mb C79U2ZOuto0/kChbADFg3tWUU2fQEDhERtbhjYR2 X-Received: by 2002:a05:6820:81cd:b0:67b:b37a:5afe with SMTP id 006d021491bc7-67bb37a5d1amr5170877eaf.17.1773153861639; Tue, 10 Mar 2026 07:44:21 -0700 (PDT) MIME-Version: 1.0 References: <25b5291f-a3d3-4655-a3d3-57f28b70ec5a@aklaver.com> <78328b08-249e-4251-8a10-b5dac183442a@aklaver.com> <0868c260-9812-4629-b32d-026c1fe6089f@aklaver.com> <7d455186-0cba-4fd5-9f9e-7051627b3ae3@aklaver.com> <2016a784-0644-4932-a0f1-3613c2521c78@aklaver.com> In-Reply-To: From: Greg Sabino Mullane Date: Tue, 10 Mar 2026 10:43:45 -0400 X-Gm-Features: AaiRm50vloNSej_oKC7zmIRYVC1u5q3B1mK22Wn9AdUcRCuPqpnaO58GtMIXc6I Message-ID: Subject: Re: Index (primary key) corrupt? To: Wim Rouquart Cc: Adrian Klaver , "pgsql-general@lists.postgresql.org" Content-Type: multipart/alternative; boundary="0000000000000e2349064cac8e8a" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000000e2349064cac8e8a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Mar 10, 2026 at 10:24=E2=80=AFAM Wim Rouquart = wrote: > Let me get this straight, are you still contesting that the index is > actually not part of the dumpfile and I somehow just keep on =E2=80=98mis= sing it=E2=80=99? > That is one possibility, yes, but there are others. We just don't have enough data. It would be great to see exactly what pg_dump is doing so we know where the corruption/disconnect is. If you have access, could you try: psql -c "alter system set log_statement=3D'all' " -c "select pg_reload_conf= ()" pg_dump -t bcf_work_type --schema-only > bcf.debug psql -c "alter system reset log_statement" -c "select pg_reload_conf()" Then send us bcf.debug as well as the Postgres logs generated during that request? Cheers, Greg --0000000000000e2349064cac8e8a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Mar 10, 2026 at 10:24=E2=80=AFAM = Wim Rouquart <wim.rouquart@kbc.be= > wrote:

Let me get this straight, are you still contesting that th= e index is actually not part of the dumpfile and I somehow just keep on =E2= =80=98missing it=E2=80=99?=C2=A0=C2=A0

<= div>That is one possibility, yes, but there are others. We just don't h= ave enough data. It would be great to see exactly what pg_dump is doing so = we know where the corruption/disconnect is. If you have access, could you t= ry:

psql -c "alter system set log_statement= =3D'all' " -c "select pg_reload_conf()"
pg_dump -t bcf_work_type --schema-only > bcf.debug

psql -c "alter system reset log_statement" = -c "select pg_reload_conf()"

Then = send us bcf.debug as well as the Postgres logs generated during that reques= t?

=C2=A0
Cheers,
Greg

--0000000000000e2349064cac8e8a--