Raise minimum PostgreSQL version to 12 #786
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#786
Loading…
Reference in a new issue
No description provided.
Delete branch "Oneric/akkoma:psql-min-ver"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PostgreSQL 11 is EOL since 2023-11-09.
Dropping it lets us simplify search code a bit and avoids the hash index problem for PSQL<10 brought up in #765.
Might as well raise the minimum to 12 (which still seems to be supported until 2024-11-14) so that we can have this option enabled by default: https://docs.akkoma.dev/stable/configuration/postgresql/#disable-generic-query-plans
honestly yeah, even debian oldstable is pgsql 13 - we can push to that just fine i think
Raise minimum PostgreSQL version to 11to Raise minimum PostgreSQL version to 12610a138845
to95531eca68
Neat, didn’t know about that option. Now bumping to 12 and setting the custom plan option; since startup fails with an illegal value, it seems like it does take effect.
Does bumping to 13 enable anything further? I only know of 12’s query planer sometimes producing worse results but nothing which holds newer versions back (in the linked case, things are already supposed to work without using a cross join anyway)
13 seems to mostly contain performance improvements and better query planning, but otherwise I don't really think there's something that seems to stand out in terms of features that would greatly benefit Akkoma.
https://www.postgresql.org/docs/13/release-13.html
Bumping to 13 would mean those that are still running Ubuntu 20.04 would need to upgrade or switch to another repo since it has Postgres 12 in the default repos, but I don't really know how many people still use it with Akkoma.
heh ok merge conflicto, hooray
95531eca68
tob405229612
rebased
b405229612
to2180d068ae
And force-pushed again to add a changelog entry and for this also cherry-picking the changelog unmangling from #789
thankies~