PostgreSQL - Transactions and Concurrency
A transaction under Read Committed isolation runs multiple queries that depend on each other's results. Another transaction updates some rows and commits between these queries. How can you prevent inconsistent intermediate states without changing the isolation level?
