fix: analyze all databases with vacuumdb after initialization in "logical" mode

Description

When using the "logical" databases initialization, we need to analyze our target database (that one that has the data we just loaded).

It looks like conn.DBName is pointing to "postgres" when we run vacuumdb.

Switch to using "-all" for running ANALYZE. The most time is to be spent in our target database since only that database has significant volumes of data.

Checklist

  • the MR description has been reviewed
  • this MR contains text changes and they have been reviewed OR there are no texts changes
  • this MR contains GUI/CLI changes and they have been reviewed OR there are no GUI/CLI changes
  • this MR contains API changes, specifications reflect those changes and they have been reviewed OR there are no API changes
Edited by Nikolay Samokhvalov

Merge request reports

Loading