Skip to content

Index not exist with exit code = 0 #468

@Soni-Harriz

Description

@Soni-Harriz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions