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
[Bug]: pg_upgrade cannot upgrade 2.12.2-pg13 to 2.14.2-pg15 #6803
Comments
@jflambert while doing major upgrades, we typically recommend to upgrade to the required timescaledb version on existing curren tPG version and then do the subsequent PG version upgrade. It seems to be working fine following those recommendations. |
Yes I can confirm using same timescaledb versions is successful. No problem. I did mention it in the bug report. But in this case I am highlighting a regression. I'll try to dig up some older logs where mixed timescaledb versions were not problematic. Note that I'm using the timescaledb-ha image so all historical versions are in the lib folder. |
#4503 seems to be related. |
You're right @jnidzwetzki I might possibly have created a duplicate here. However my error message is slightly different. What's more I actually posted in that issue that using timescaledb-ha solved my issue at the time. So in fact this might still be a regression. I know you guys made big GUC changes recently. |
When doing major pg version upgrade source and destination version are required to be identical |
What type of bug is this?
Unexpected error
What subsystems and features are affected?
Other
What happened?
I've performed major postgres upgrades with mixed timescaledb versions before. Currently I am unable to upgrade from 2.12.2-pg13 to 2.14.2-pg15 due to this specific error:
could not load library "$libdir/timescaledb-2.14.2": ERROR: attempt to redefine parameter "timescaledb.enable_deprecation_warnings"
Of course if I upgrade the extension to 2.14.2 on the 13 cluster before upgrading to 15, no problem.
TimescaleDB version affected
2.14.2
PostgreSQL version used
15.6
What operating system did you use?
timescaledb-ha
What installation method did you use?
Docker
What platform did you run on?
On prem/Self-hosted
The text was updated successfully, but these errors were encountered: