PostgreSQL packages for all currently supported branches #57
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I think this is the optimal solution for packages of software with multiple supported versions, like MySQL, Ruby and PostgreSQL. Providing only one package for the latest version (like you did with your Ruby package) is dangerous and insecure in combination with Chocolatey’s keep-old-versions-design. I already explained the reasons more than once: chocolatey-archive/chocolatey#389 (comment), chocolatey-archive/chocolatey#259 (comment)
This pull requests consists of the following packages:
Note that a similar approach is currently used for packages for Linux distributions. For example, look at Debian: http://packages.debian.org/search?keywords=postgresql&searchon=names&suite=testing§ion=all
To be more precise, my approach for the PostgreSQL packages is a combination of Debians slow and conservative release policy and Arch Linux’ always-latest-version policy (https://www.archlinux.org/packages/extra/x86_64/postgresql/), so it certainly satisfies all Chocolatey users.