Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
francislavoie
12 days ago
|
parent
|
context
|
favorite
| on:
Instant database clones with PostgreSQL 18
Unfortunately a lot of our tests use transactions themselves because we lock the user row when we do anything to ensure consistency, and I'm pretty sure nested transactions are still not a thing.
hu3
12 days ago
[–]
You can emulate nested transactions using save points. A client uses that in production. And others in unit tests.
reply
pak9rabid
11 days ago
|
parent
[–]
Bingo...this is how I get around that.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: