Skip to content

pg_repack workers ignore --elevel= value from command line and runs with --elevel=log #478

@MaximBoguk

Description

@MaximBoguk

pg_repack workers ignore --elevel= values and run with --elevel=log

sample:

pg_repack --table=job_stats_new_2026_02 --elevel=WARNING --dbname=redacted
--no output

vs
pg_repack --table=job_stats_new_2026_02 --elevel=WARNING --jobs=4 --dbname=redacted
LOG: Initial worker 0 to build index: CREATE INDEX index_3436771073 ON repack.table_3371668452 USING btree (parent_job_id) WHERE (parent_job_id IS NOT NULL)
LOG: Initial worker 1 to build index: CREATE INDEX index_3371668463 ON repack.table_3371668452 USING btree (job_posting_id) WHERE (job_posting_id IS NOT NULL)
... and so on with a log noise in logs/cron emails without actual errors during run

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