Skip to content

Conversation

@cycle-five
Copy link
Owner

One of the foundational principles of this action was to use preinstalled PostgreSQL binaries. The rationale was simple:

  • Make sure the action is fast and no installation is required.
  • Make sure it's safe and doesn't reach out to external servers.
  • Make sure it's auditable and everyone can verify it contains no malicious code.

It's quite common, however, for applications to follow upstream PostgreSQL releases and switch to them as soon as possible. This applications look to install the latest stable version instead.

This patch adds a new postgres-version input parameter that controls what major version of PostgreSQL to install. Please note, the parameter receives only major part of the version, e.g. "14'. It's impossible to request any minor release.

Co-Authored-By: Roman Podoliaka [email protected]
Co-Authored-By: Ruslan Kiyanchuk [email protected]

Resolves: ikalnytskyi#14

One of the foundational principles of this action was to use
preinstalled PostgreSQL binaries. The rationale was simple:

 * Make sure the action is fast and no installation is required.
 * Make sure it's safe and doesn't reach out to external servers.
 * Make sure it's auditable and everyone can verify it contains no
   malicious code.

It's quite common, however, for applications to follow upstream
PostgreSQL releases and switch to them as soon as possible. This
applications look to install the latest stable version instead.

This patch adds a new `postgres-version` input parameter that controls
what major version of PostgreSQL to install. Please note, the parameter
receives only major part of the version, e.g. "14'. It's impossible to
request any minor release.

Co-Authored-By: Roman Podoliaka <[email protected]>
Co-Authored-By: Ruslan Kiyanchuk <[email protected]>

Resolves: ikalnytskyi#14
@cycle-five cycle-five merged commit a65cddf into master Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to set version of postgresql ?

3 participants