Commit Graph

3 Commits (9a73820f3d07c70af7e22c158f429a16630d253b)

Author SHA1 Message Date
Marco Slot 5057594ecc Connection API refactoring 2016-12-01 16:42:22 +01:00
Andres Freund 1ca88dbac7 Use connection_management.c from within connection_cache.c.
This is a temporary step towards removing connection_cache.c.
2016-12-01 02:10:03 -08:00
Andres Freund 6826022ad9 Add beginning of new and central connection lifetime management.
This is intended to eventually replace multi_client_executor.c and
connection_cache.c, and to provide the basis of a centralized
transaction management.

The newly introduced transaction hook should, in the future, be the only
one in citus, to allow for proper ordering between operations.  For now
this central handler is responsible for releasing connections and
resetting XactModificationLevel after a transaction.
2016-12-01 02:10:03 -08:00