On Thu, Aug 27, 2026 at 10:56 PM Nathan Bossart
<nathandbossart@gmail.com> wrote:
> Presumably we need to handle transaction blocks a bit like how vacuum()
> does. Or maybe even prevent REPACK (ANALYZE) within a transaction block.
I looked into this a bit. I think the problem is not ordinary
transaction blocks themselves, but non-top-level execution, such as the
DO block in the reproducer.
So the attached patch rejects only non-top-level REPACK (ANALYZE)
commands.
Regards,
--
Fujii Masao