Antonin Houska <ah@cybertec.at> wrote:
> Mihail Nikalayeu <mihailnikalayeu@gmail.com> wrote:
>
> > One more thing - I think build_new_indexes and
> > index_concurrently_create_copy are very close in semantics, so it
> > might be a good idea to refactor them a bit.
>
> You're right. I think I even used the latter for reference when writing the
> first.
>
> 0002 in the attached series tries to fix that. build_new_indexes() (in 0004)
> is simpler now.
This is v18 again. Parts 0001 through 0004 are unchanged, however 0005 is
added. It implements a new client application pg_repackdb. (If I posted 0005
alone its regression tests would not work. I wonder if the cfbot handles the
repeated occurence of the 'v18-' prefix correctly.)
--
Antonin Houska
Web: https://www.cybertec-postgresql.com