feat: improvements of create_zfs_snapshot script
Description
- Detect pg version to adjust replication mode.
- Stop psql with non 0 code on error added.
Related issue
Examples
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 and they have been reviewed OR there are no API changes
Edited by Anatoly Stansler