Re: Reindex concurrently - Mailing list pgsql-admin

From SOzcn
Subject Re: Reindex concurrently
Date
Msg-id CAJyV5Aa8kGuDD5z6RkKbTjA+V1nMiZZHkkZeRRCJxQ26WHJVYw@mail.gmail.com
Whole thread Raw
In response to Re: Reindex concurrently  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-admin
Cool!

I'll do it with bash. Cheers!

David G. Johnston <david.g.johnston@gmail.com>, 13 Ara 2023 Çar, 21:46 tarihinde şunu yazdı:
On Wednesday,
According to my research, the only way to do this is to write a bash script in Linux and insert it with the loop.

Right.  It is fundamentally impossible to store something in the database capable of executing multiple commands and not execute it within a normal transaction.  The maintenance work that cannot be done within a transaction must be sourced externally and executed in an implicit transaction that auto-commits after the command finishes.

David J.

pgsql-admin by date:

Previous
From: Rajesh Kumar
Date:
Subject: Re: Verify data after backup and restore
Next
From: Ron Johnson
Date:
Subject: Re: Verify data after backup and restore