Skip to content

Commit

Permalink
Changelog and Readme updated for build 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandstirnimann committed Mar 23, 2023
1 parent b3653af commit af7c976
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v2.2
* Changed discovery behaviour that non-existing database clusters are not deleted anymore including new parameter `--clean-pgclustertab`. [See chapter Discovery](https://github.com/Trivadis/pgbasenv#discovery)

## v2.1
* Improved cluster detection (issue #12) to reduce performance overhead
* Improved `scriptmgr.sh prep` call (issue #11)
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ First discovery will be executed during installation.

To execute discovery again, in case if some new home was installed or new cluster was created, then `pgbasenv` can be manually executed.

By default it will updated existing **pghometab** and **pgclustertab** files.
Every execution of `pgbasenv` discovers PostgreSQL binary installations as well as database clusters based on the $PGDATA directory. By default, it will update existing **pghometab** and **pgclustertab** files. The update will add new discovered entries but not delete any formerly existing entry. This means, if for example a certain $PGDATA directory is temporarily not accessible because of an ongoing restore or standby reinstate operation a concorrent `pgbasenv` execution will not delete this cluster database entry from **pgclustertab**. There is a dedicated parameter `--clean-pgclustertab` to delete non-existing database cluster entries from **pgclustertab**.

$ pgbasenv --clean-pgclustertab

There is option to forcefully re-create both tab files from scratch with `--force` option.

Expand Down
2 changes: 1 addition & 1 deletion bin/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1
2.2

0 comments on commit af7c976

Please sign in to comment.