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

@Gargron Gargron commented Oct 7, 2018

Fix #8590


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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

someone said 9.5 i think?

@Gargron Gargron merged commit 886af5c into master Oct 7, 2018
@Gargron Gargron deleted the fix-db-migration-9.6 branch October 7, 2018 02:40
lindwurm added a commit to akane-blue/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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants