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

Mastodon now (since v2.5.0) requires PostgreSQL 9.5 #8591

Closed
2 tasks done
JMendyk opened this issue Sep 3, 2018 · 1 comment
Closed
2 tasks done

Mastodon now (since v2.5.0) requires PostgreSQL 9.5 #8591

JMendyk opened this issue Sep 3, 2018 · 1 comment

Comments

@JMendyk
Copy link
Contributor

JMendyk commented Sep 3, 2018

#mastodon IRC channel user raucao pointed out, that since version v2.5.0, PostgreSQL 9.5 is required to run Mastodon.

raucao reported that migration 20180812173710_copy_status_stats fails on PostgreSQL 9.4, due to

syntax is invalid at the ON CONFLICT

https://github.com/tootsuite/mastodon/blob/ccc2f608c5c1caac2ea4796f4490f29d59d67068/db/migrate/20180812173710_copy_status_stats.rb#L12

ON CONFLICT syntax for INSERT was added in version 9.5 (see: INSERT in versions 9.4 and 9.5).


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
  • This bug happens on tagged release v2.5.0.
@JMendyk
Copy link
Contributor Author

JMendyk commented Sep 3, 2018

Closed as duplicate of #8590.

@JMendyk JMendyk closed this as completed Sep 3, 2018
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

No branches or pull requests

1 participant