Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

isolation.hxx File Reference

#include "pqxx/libcompiler.h"
#include "pqxx/util"

Include dependency graph for isolation.hxx:

Go to the source code of this file.

Namespaces

namespace  pqxx

Enumerations

enum  isolation_level { read_committed, serializable }
 Transaction isolation levels; PostgreSQL doesn't implement all SQL levels. More...


Enumeration Type Documentation

enum pqxx::isolation_level
 

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.

Enumeration values:
read_committed 
serializable 


Generated on Mon Oct 3 20:28:59 2005 for libpqxx by  doxygen 1.4.2