« * K @boringsql.com

Radim @ boringSQL @boringsql.com

2026-09-01 07:03 UTC

postgres 19 has WAIT FOR LSN, which means you can finally drop the "sleep and hope" workarounds for reading your own writes from replicas. I did all the digging around. Sample Go implementation, and the Rails workaround (Active Record thinks WAIT FOR is a write 🙃) boringsql.com/posts/read-y...

Link: Read your own writes, off the primary (boringsql.com/posts/read-your-own-writes/)

2 likes, 1 reposts, 1 replies

3 Next post4 More from @boringsql.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup