We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We do this in the following way in our DBA environment, though we are all running on Debian, so it's considerably easier:
Get the version from cluster_info. This could also be done with SHOW server_version; Our specific script that gives us this is clusterinfo-vars payments_a --version. Refer to https://git.enova.com/cfengine/postgres/blob/master/DBA-Tools/clusterinfo-vars for this script.
SHOW server_version;
clusterinfo-vars payments_a --version
Find the path of the binary using the version, i.e.
#!/bin/bash set -eu destination_cluster=$1 eval "$(clusterinfo-vars $destination_cluster version)" echo "/usr/lib/postgresql/$version/bin"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We do this in the following way in our DBA environment, though we are all running on Debian, so it's considerably easier:
Get the version from cluster_info. This could also be done with
SHOW server_version;
Our specific script that gives us this isclusterinfo-vars payments_a --version
. Refer to https://git.enova.com/cfengine/postgres/blob/master/DBA-Tools/clusterinfo-vars for this script.Find the path of the binary using the version, i.e.
The text was updated successfully, but these errors were encountered: