This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Repository navigation
Update PostgresQL to version 13 - #6051
Merged
Merged
Conversation
Fixes TechEmpower#6050 Not sure this is the fix you want to take since it might impact benchmarks.
Contributor
|
Shouldn't we stop hardcoding version numbers? At the very least not inside the configuration files and not in the paths. |
jcheron
reviewed
Oct 5, 2020
| RUN apt-get -yqq install locales | ||
|
|
||
| ENV PG_VERSION 12 | ||
| ENV PG_VERSION 13 |
Contributor
There was a problem hiding this comment.
maybe add a PG_VERSION mask in postgresql.conf and replace it from here:
RUN sed -i "s|PG_VERSION|${PG_VERSION}|g" postgresql.conf
jcheron
reviewed
Oct 5, 2020
| data_directory = '/ssd/postgresql' # use data in another directory | ||
| # (change requires restart) | ||
| hba_file = '/etc/postgresql/12/main/pg_hba.conf' # host-based authentication file | ||
| hba_file = '/etc/postgresql/13/main/pg_hba.conf' # host-based authentication file |
Contributor
There was a problem hiding this comment.
hba_file = '/etc/postgresql/PG_VERSION/main/pg_hba.conf'
Contributor
Author
Contributor
|
PR #6052 generates a 404 error on package downloads... RUN echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -sc || cat /etc/*-release|grep -oP 'CODENAME=\K\w+$'|head -1)-pgdg main" > /etc/apt/sources.list.d/pgdg.list |
tomciopp
pushed a commit
to tomciopp/FrameworkBenchmarks
that referenced
this pull request
Oct 21, 2020
* Update PostgresQL to version 13 Fixes TechEmpower#6050 Not sure this is the fix you want to take since it might impact benchmarks. * Update postgresql.conf
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes #6050
Not sure this is the fix you want to take since it might impact benchmarks.