Skip to content

Is using advisory locks safe with pgxpool? #2097

Closed Answered by ymmt2005
ymmt2005 asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, I guess I found the answer.
https://pkg.go.dev/github.com/jackc/pgx/[email protected]/pgxpool#Config

I can use pgpool.Config.AfterRelease to unlock all locks.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ymmt2005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant