pg.ddx.io  reorg/pg_repack GitHub issues and pull requests  
help / color / mirror / Atom feed
[reorg/pg_repack] issue #478: pg_repack workers ignore --elevel= value from command line and runs with --elevel=log
7+ messages / 2 participants
[nested] [flat]

* [reorg/pg_repack] issue #478: pg_repack workers ignore --elevel= value from command line and runs with --elevel=log
@ 2026-02-11 12:23  "MaximBoguk (@MaximBoguk)" <noreply+MaximBoguk@github.com>
  0 siblings, 0 replies; 7+ messages in thread

From: MaximBoguk (@MaximBoguk) @ 2026-02-11 12:23 UTC (permalink / raw)
  To: reorg/pg_repack <noreply+reorg-pg_repack@github.com>

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

^ permalink  raw  [nested|flat] 7+ messages in thread

* Re: [reorg/pg_repack] issue #478: pg_repack workers ignore --elevel= value from command line and runs with --elevel=log
@ 2026-02-11 12:24  "MaximBoguk (@MaximBoguk)" <noreply+MaximBoguk@github.com>
  5 siblings, 0 replies; 7+ messages in thread

From: MaximBoguk (@MaximBoguk) @ 2026-02-11 12:24 UTC (permalink / raw)
  To: reorg/pg_repack <noreply+reorg-pg_repack@github.com>

@MaximBoguk renamed this.

^ permalink  raw  [nested|flat] 7+ messages in thread

* Re: [reorg/pg_repack] issue #478: pg_repack workers ignore --elevel= value from command line and runs with --elevel=log
@ 2026-02-13 11:18  "za-arthur (@za-arthur)" <noreply+za-arthur@github.com>
  5 siblings, 0 replies; 7+ messages in thread

From: za-arthur (@za-arthur) @ 2026-02-13 11:18 UTC (permalink / raw)
  To: reorg/pg_repack <noreply+reorg-pg_repack@github.com>

@MaximBoguk thank you for the report!

It seems it isn't specific to workers. For some reason `LOG` level has higher precedence that `WARNING`:
https://github.com/reorg/pg_repack/blob/85b64c6d4f599b2988343c4e7121acab505c9006/bin/pgut/pgut.c#L95...

^ permalink  raw  [nested|flat] 7+ messages in thread

* Re: [reorg/pg_repack] issue #478: pg_repack workers ignore --elevel= value from command line and runs with --elevel=log
@ 2026-02-13 11:49  "za-arthur (@za-arthur)" <noreply+za-arthur@github.com>
  5 siblings, 0 replies; 7+ messages in thread

From: za-arthur (@za-arthur) @ 2026-02-13 11:49 UTC (permalink / raw)
  To: reorg/pg_repack <noreply+reorg-pg_repack@github.com>

Apparently `LOG` messages shouldn't be used by client side of pg_repack since `LOG` messages are considered server side messages. PR to replace `LOG` to `INFO`:
https://github.com/reorg/pg_repack/pull/479

^ permalink  raw  [nested|flat] 7+ messages in thread

* Re: [reorg/pg_repack] issue #478: pg_repack workers ignore --elevel= value from command line and runs with --elevel=log
@ 2026-02-13 14:57  "za-arthur (@za-arthur)" <noreply+za-arthur@github.com>
  5 siblings, 0 replies; 7+ messages in thread

From: za-arthur (@za-arthur) @ 2026-02-13 14:57 UTC (permalink / raw)
  To: reorg/pg_repack <noreply+reorg-pg_repack@github.com>

Fixed by https://github.com/reorg/pg_repack/pull/479

^ permalink  raw  [nested|flat] 7+ messages in thread

* Re: [reorg/pg_repack] issue #478: pg_repack workers ignore --elevel= value from command line and runs with --elevel=log
@ 2026-02-13 14:57  "za-arthur (@za-arthur)" <noreply+za-arthur@github.com>
  5 siblings, 0 replies; 7+ messages in thread

From: za-arthur (@za-arthur) @ 2026-02-13 14:57 UTC (permalink / raw)
  To: reorg/pg_repack <noreply+reorg-pg_repack@github.com>

@za-arthur closed this.

^ permalink  raw  [nested|flat] 7+ messages in thread

* Re: [reorg/pg_repack] issue #478: pg_repack workers ignore --elevel= value from command line and runs with --elevel=log
@ 2026-02-13 19:41  "MaximBoguk (@MaximBoguk)" <noreply+MaximBoguk@github.com>
  5 siblings, 0 replies; 7+ messages in thread

From: MaximBoguk (@MaximBoguk) @ 2026-02-13 19:41 UTC (permalink / raw)
  To: reorg/pg_repack <noreply+reorg-pg_repack@github.com>

Thank you.

^ permalink  raw  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2026-02-13 19:41 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-02-11 12:23 [reorg/pg_repack] issue #478: pg_repack workers ignore --elevel= value from command line and runs with --elevel=log "MaximBoguk (@MaximBoguk)" <noreply+MaximBoguk@github.com>
2026-02-11 12:24 ` "MaximBoguk (@MaximBoguk)" <noreply+MaximBoguk@github.com>
2026-02-13 11:18 ` "za-arthur (@za-arthur)" <noreply+za-arthur@github.com>
2026-02-13 11:49 ` "za-arthur (@za-arthur)" <noreply+za-arthur@github.com>
2026-02-13 14:57 ` "za-arthur (@za-arthur)" <noreply+za-arthur@github.com>
2026-02-13 14:57 ` "za-arthur (@za-arthur)" <noreply+za-arthur@github.com>
2026-02-13 19:41 ` "MaximBoguk (@MaximBoguk)" <noreply+MaximBoguk@github.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox