On Wed, May 25, 2022 at 6:17 AM Aleš Zelený <zeleny.ales@xxxxxxxxx> wrote: > SELECT format('REINDEX SCHEMA CONCURRENTLY %I;', n.nspname) This may be related to bug #17485, discussed at: https://www.postgresql.org/message-id/flat/17485-396609c6925b982d%40postgresql.org