-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
Support SKIP LOCKED
for SelectStatement
#142
Comments
Is it an extension to #117 ? |
Possibly. I'm unusure what the best route to implement it would be. With Postgres, all you need to do is add SKIP LOCKED onto a SELECT query, and it'll skip any row currently locked by a transaction. So all I have to do is: I'm currently using the transaction branch (even with the lifetime issue (which I haven't run into), it's working great). Do let me know if this is more difficult than it seems on the surface to add support for! |
I'm working on implementing a job queue using Postgres, and I need to be able to add
SKIP LOCKED
to my select queriesThe text was updated successfully, but these errors were encountered: