sclorg / postgresql-container

PostgreSQL container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
http://softwarecollections.org
Apache License 2.0
164 stars 216 forks source link

Database version upgrade from postgresql 12 to postgresql 13 is not working #452

Open dinaharan opened 2 years ago

dinaharan commented 2 years ago

I was trying to test postgresql upgrade to version 13 from version 12 using RHEL8 based image but it's not working. I see the following env is missing in RHEL8 based postgresql 13 Dockerfile.

POSTGRESQL_PREV_VERSION=12

Here is the link to problematic Dockerfile.

https://github.com/sclorg/postgresql-container/blob/generated/13/Dockerfile.rhel8

I tried the same upgrade using RHEL7 based image and it works fine.

dinaharan commented 2 years ago

PR #451 submitted for this issue.