Skip to content

Conversation

donbobka
Copy link
Contributor

@donbobka donbobka commented Apr 21, 2023

Should we raise exception to avoid incorrect usage of transaction: true? Another approach will be create transaction

Current behavior of library: it silently runs SELECT pg_advisory_xact_lock(...) that without transaction means lock with immediate unlock and then pass execution to block without active advisory lock.

@donbobka donbobka force-pushed the raise-if-not-transaction branch 3 times, most recently from 727cbeb to b11872e Compare April 21, 2023 04:47
better message

add test

fix
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.

1 participant