-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
BSim: Update PostgreSQL (15.3->17.0) to fix SSL errors #7085
base: master
Are you sure you want to change the base?
Conversation
I also compared Similarly I compared I have attached the 2 compare reports created by Beyond Compare. Remove the .txt extension and then they can be viewed in a browser. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*looking at the
I tested most of the main functionalities and everything seems to be working fine:
|
I also added the Dump DBs with PostgreSQL version 15.3Prerequisites:
I added this one:
Dump the databases (I am prompted for the password 4 times because there are 4 databases so 4 connections made):
Inspect the content:
Restore DBs with PostgreSQL version 17.0Prerequisites:
Restore the databases:
Inspect the content:
|
Fixes #6115
Fixes #7084
As mentioned in the linked issues, on distros (Fedora, Arch etc.) with newer packages (especially OpenSSL), the currently used PostgreSQL (15.3) is not working properly resulting in SSL error(s) (detailed in the issues). In #7084 I fixed the SSL error by downgrading OpenSSL but this was a painful solution. In this PR I have upgraded the PostgreSQL version from 15.3 to 17.0 and now
bsim_ctl start
works on Fedora 40 with OpenSSL 3.2.2 and also on Ubuntu 22.04 with OpenSSL 3.0.2. Edit: I also added thedumpall
andrestore
commands tobsim_ctl
which can be used to migrate DBs from 15.3 to 17.0 (see #7085 (comment)).