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

sql: support pg_try_advisory_{lock,unlock}(int) builtin #13486

Closed
jordanlewis opened this issue Feb 8, 2017 · 0 comments · Fixed by #13429
Closed

sql: support pg_try_advisory_{lock,unlock}(int) builtin #13486

jordanlewis opened this issue Feb 8, 2017 · 0 comments · Fixed by #13429
Assignees
Labels
A-sql-pgcompat Semantic compatibility with PostgreSQL

Comments

@jordanlewis
Copy link
Member

jordanlewis commented Feb 8, 2017

Rails 5.0+ requires the pg_try_advisory_lock and pg_advisory_unlock builtins. Postgres advisory locks are re-entrant locks that are available for application-defined purposes. For now, let's just stub this functionality out.

@jordanlewis jordanlewis added activerecord A-sql-pgcompat Semantic compatibility with PostgreSQL labels Feb 8, 2017
@jordanlewis jordanlewis self-assigned this Feb 8, 2017
@jordanlewis jordanlewis changed the title sql: support pg_try_advisory_lock(int) builtin sql: support pg_try_advisory_{lock,unlock}(int) builtin Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql-pgcompat Semantic compatibility with PostgreSQL
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant