#include "pqxx/util"
Go to the source code of this file.
Namespaces | |
namespace | pqxx |
Classes | |
struct | pqxx::isolation_traits< LEVEL > |
Traits class to describe an isolation level; primarly for libpqxx's own use. More... | |
Enumerations | |
enum | isolation_level { read_committed, serializable } |
Transaction isolation levels; PostgreSQL doesn't implement all SQL levels. More... |
|
Transaction isolation levels; PostgreSQL doesn't implement all SQL levels. The only levels implemented in postgres are read_committed and serializable; SQL also defines read_uncommitted and repeatable_read. Unless you're bent on using nasty tricks to communicate between ongoing transactions and such, you won't really need isolation levels for anything except performance optimization. In that case, you can safely emulate read_uncommitted by using read_committed and repeatable_read by using serializable. In general, serializable is the safest choice. |