Skip to content

Are (advisory) session locks supported? #387

Answered by porsager
ariofrio asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you should be able to do that by creating a single connection instance like this:

const sql = postgres({ max: 1 })

Would that be good enough?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ariofrio
Comment options

@ariofrio
Comment options

@porsager
Comment options

Answer selected by porsager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants