-
Notifications
You must be signed in to change notification settings - Fork 255
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
Raise PG min version to 9.6 #6167
Conversation
Signed-off-by: albertlast [email protected]
Should be merged asap and not first to final version. |
https://www.postgresql.org/download/linux/redhat/ https://wiki.centos.org/About/Product Based on this information, I would say 9.5 or 9.6 doesn't mater it seems. If I see all the supported distributions right. cPanel seems to follow mostly the distro releases so Centos 7/8 should be the current ones. The judging of supporting this is the Distros support and postgres support itself. |
You do realise the default pgsql version on CentOS is 9.2.24 and that is supported until 2024 |
yea postgres 9.2.24 is eol and centos repo for newer version exists. |
It’s still supported by RedHat for security fixes. |
yea than ask redhat to support smf. |
The change you’re proposing isn’t exactly significant to maintain support for 9.4 at the least. Does bumping to 9.6 really give you that many advantages? |
I don’t see anything significant in those PR’s, you might as well increase the version of MySQL to 5.6 whilst you’re at it. Drop the MySQL workarounds. As that’s also EOL |
MySQL is a bit more difficult to raise since nearly 95% or so of the SMF installs are on MySQL (or its relatives) PG is a lot more easier due to the small amount of installs. But yes, I've been thinking about raising MySQL to 5.6 as well, just need to gather more data (SMF.org) on it to make a solid decision. |
we had to think als in smf2.1 live time, Since centos in his form is dead and centos stream got newer version of pg, |
I’ll repeat CentOS 7 is supported until 2024. CentOS 8 is switching to stream this year, I don’t necessarily disagree with you, just you have to treat both architectures the same. |
Linux got more 100 distro, |
You and I both know that CentOS/RedHat and Ubuntu/Debian are the big players in the server market with over 80% of the market share. SuSe, Arch, Slack and Gentoo are the others. So taking 16.04 LTS which is also supported until 2024 that’s version 9.5. Debian Stretch EOL 2022 is version 9.6. SuSe I don’t know enough about. The other’s to my knowledge don’t have an LTS Please if you’re going to state things check to make sure they’re correct. |
Like i said befor i don't like it, that you handle the linux not equal, When you want to use pg <9.5 than stay on smf 2.0 untile 2024 no one is forcing you or switch to mysql. You want to force smf to support software which got released 9-7 years ago, |
By your own argument the support for less than php 7.3 should also occur. We’re going round in circles, I don’t see what harm it does keeping support for 9.4 when the only change is the CTE and ALTER TABLE support. It’s not like SMF2.0 has kept support with what it had at the start. The PHP version for one has increased. I’m pretty sure the MySQL also has. |
Sure php should be this high, I also see no harm, that someone how want to use pg below 9.6 use smf 2.0.x, When you want to use modern software, |
CentOS 7 supports 9.2, but there are repos that support newer versions of postgresql. @albertlast Is there anything we intend to merge that is only supported in 9.2 or higher? If so, can backwards compatible functions be used to provide legacy support for them to bridge the gap? Even if they come at a performance cost, that can be acceptable because its maintaining a backwards compatibility for older versions. |
Since the user/admin got options:
since the usergroup is low, how use pg, the effort needs to be reasonable in supported version range of pg. So i see no reason to hold back this pr. |
@MissAllSunday and @live627, Can you provide feedback? This normally wouldn't be a PR to worry about merging for RC4. But there are at least 2 related PRs that depend on this and they change how things like the upgrader functions. If this will merge, it should merge in time for RC4 to ensure any bugs can be fixed up for final. |
Which related PRs? I saw: #6170 which introduces new sintax that could possible further divide the differences between mysql and PG behaviour, something we shouldn't let happen. I am OK with raising the min version only if it doesn't require us to make changes to what we currently have, that is, to have full backwards compatibility, if raising the version requires us to make modifications then no, we shouldn't raise it at this point. |
#6170 introduce pg syntax to match the mysql behavior, |
#6255 changes the upgrader logic for Postgresql 9.6+ |
i see no notes in the pr so i guess not, |
@albertlast - everything in this PR is also in #6171 . Should we close this out & keep #6171? |
Same reason like the pr 2 years before: #4788
good thing on this,
we got now always ignore support on pg side and didn't had to check any more.