-
-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
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
Add PostgreSQL apt repo and signing key for installing specific versions of Postgres for debian based distros #251
base: master
Are you sure you want to change the base?
Conversation
Looks like CI is failing because of the issue mentioned earlier.
by default the var |
This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
Changes
Included tasks for adding PostgreSQL apt repo and signing key
Reason for changes
Certain applications have need for specific versions of
postgresql
. The default packages variablespostgres_packages
even when initialized to something likepostgresql-15 and postgresql-client-15
are not recognized by apt without adding the repo. Hence, it would be helpful for debian based systems to include the repo such that we can install these packages.Installing the default packages
postgresql
andpostgresql-contrib
installs the latest version of postgres for the particular distribution.I have tested the above code on an Ubuntu 22.04 Live Server VM. Currently without the above changes, installing the packages via apt only installs the latest version which as of writing this PR is
postgres-16
. With the changes I am able to install the particular version of postgres on the server.Please let me know if there are any further changes that I might need to make.
fixes #242