From: Soni-Harriz (@Soni-Harriz) <noreply+Soni-Harriz@github.com>
To: reorg/pg_repack <noreply+reorg-pg_repack@github.com>
Subject: [reorg/pg_repack] issue #468: Index not exist with exit code = 0
Date: Thu, 16 Oct 2025 07:46:56 +0000
Message-ID: <gh-reorg-pg_repack-468@github.com> (raw)
Hello, we found issue here
Ubuntu 24.04.1 LTS
PG 17.5 (Ubuntu 17.5-1.pgdg24.04+1)
pg_repack 1.5.2
Whenever we try to repack an index that does not exist, the repack exit code is 0.
pg_repack -U username -h localhost --index='public.my_index_not_exist' --wait-timeout=3600 dbname
WARNING: ERROR: relation "public.my_index_not_exist" does not exist
CONTEXT: unnamed portal parameter $1 = '...'
echo $?
0