record postgresql server version in maintenance config and run version-aware postgresql commands #29; refactor