From: CyberDem0n (@CyberDem0n) <noreply+CyberDem0n@github.com>
To: reorg/pg_repack <noreply+reorg-pg_repack@github.com>
Subject: Re: [reorg/pg_repack] PR #493: Use format() and pg_catalog-qualified catalog tables in pg_repack.sql.in
Date: Fri, 13 Nov 2026 11:27:52 +0000
Message-ID: <gh-reorg-pg_repack-493-c6851494369@github.com> (raw)
In-Reply-To: <gh-reorg-pg_repack-493@github.com>
References: <gh-reorg-pg_repack-493@github.com>
https://github.com/reorg/pg_repack/blob/master/lib/pg_repack.sql.in#L9 creates repack schema without IF EXISTS, and this is the best hardening. Using `schema = pg_catalog` doesn't change it.
For example, pg_cron does the same in pg_cron.control (so as a few more extensions).