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

Add fallback for PostgreSQL without upsert in CopyStatusStats #8903

Merged
merged 1 commit into from Oct 7, 2018

Conversation

@Gargron
Copy link
Member

commented Oct 7, 2018

Fix #8590

@Gargron Gargron referenced this pull request Oct 7, 2018
2 of 2 tasks complete

def supports_upsert?
version = select_one("SELECT current_setting('server_version_num') AS v")['v'].to_i
version >= 90600

This comment has been minimized.

Copy link
@nightpool

nightpool Oct 7, 2018

Collaborator

someone said 9.5 i think?

@Gargron Gargron force-pushed the fix-db-migration-9.6 branch from a6adba9 to 8447711 Oct 7, 2018

@Gargron Gargron force-pushed the fix-db-migration-9.6 branch from 8447711 to 98ab060 Oct 7, 2018

@Gargron Gargron merged commit 886af5c into master Oct 7, 2018

11 checks passed

ci/circleci: build Your tests passed on CircleCI!
Details
ci/circleci: check-i18n Your tests passed on CircleCI!
Details
ci/circleci: install Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.3 Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.4 Your tests passed on CircleCI!
Details
ci/circleci: install-ruby2.5 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.3 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.4 Your tests passed on CircleCI!
Details
ci/circleci: test-ruby2.5 Your tests passed on CircleCI!
Details
ci/circleci: test-webui Your tests passed on CircleCI!
Details
codeclimate All good!
Details

@Gargron Gargron deleted the fix-db-migration-9.6 branch Oct 7, 2018

lindwurm added a commit to lindwurm/mastodon that referenced this pull request Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.