Skip to content
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

Capture minimum postgres version 12 #27528

Merged
merged 1 commit into from Oct 26, 2023

Conversation

mjankowski
Copy link
Contributor

Per @renchap request -- we set the expectation of not supporting EOL'd postgres in the 4.2 release notes - https://github.com/mastodon/mastodon/releases/tag/v4.2.0 - this change updates the README to reflect 12+ and also updates the strong migrations target version.

I also included the removal of a bunch of version-dependent checks in the migration helpers. This is probably fine since we're dropping that support, but it also feels odd to edit what I think is essentially "vendored" code originally taken from the gitlab project. It may make sense outside the scope of this PR to actually do it that way: vendor the files as-is taken from gitlab, and then separate out the additions made to the script. Alternately, if I'm thinking about this wrong and it's very much "our" script at this point even though its origins are another project, none of this matters and we can modify away.

Also open to feedback on any other areas of code/docs which could be bumped to require PG12+ and/or optimized if we no longer need to support older.

@Gargron Gargron added this pull request to the merge queue Oct 26, 2023
Merged via the queue into mastodon:main with commit 4aa05d4 Oct 26, 2023
35 checks passed
@mjankowski mjankowski deleted the postgres-version-req branch October 26, 2023 20:52
ponapalt pushed a commit to ponapalt/mastodon that referenced this pull request Oct 29, 2023
zunda pushed a commit to zunda/mastodon that referenced this pull request Oct 29, 2023
audiodude pushed a commit to audiodude/mastodon that referenced this pull request Nov 16, 2023
000hen pushed a commit to thenapnetwork/nap-mastodon that referenced this pull request Dec 6, 2023
vmstan pushed a commit to vmstan/mastodon that referenced this pull request Dec 14, 2023
vmstan pushed a commit to vmstan/mastodon that referenced this pull request Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants