Skip to content

v.1.0.2

Choose a tag to compare

@jpargudo jpargudo released this 11 Jan 09:21
· 36 commits to master since this release

Version 1.0.2 (January, 11h 2024)

Another small release (no feature added) to prepare what's next!

See full Release notes part of the documentation for full changes.

  • new PGManager for everything

Same I did in version 1.0.1 with SSHManager, now PG connections are handled by a manager. First, this bring cleaner code. Second, it allows pgSimload to function with an unique connection to the PG database, wheter it is used in SQL-Loop mode or Patroni Watcher mode.

It doesn't change dramatically things in the SQL-Loop mode, because previously, an unique connection was used in the main loop (but others to set transactions GUCS, if used, and Exectute script if used, where still independant connections).

But for the Patroni Watcher, it changes things a lot, allowing the Replication info output to be faster, and offers less "flickering", because we don't pay anymore the connexion time, which has the most cost in time execution.

  • split main.go in many other .go files for better maintainability. This will allow further usage of Go Packages more easily

  • split documentation in parts for better maintainability too

  • created a Roadmap section in doc for the curious

  • more code cleaning everywhere