mirror of https://github.com/citusdata/citus.git
parent
711128671a
commit
42a8082721
|
@ -27,6 +27,7 @@
|
||||||
#include "distributed/transaction_management.h"
|
#include "distributed/transaction_management.h"
|
||||||
#include "distributed/placement_connection.h"
|
#include "distributed/placement_connection.h"
|
||||||
#include "distributed/subplan_execution.h"
|
#include "distributed/subplan_execution.h"
|
||||||
|
#include "distributed/version_compat.h"
|
||||||
#include "utils/hsearch.h"
|
#include "utils/hsearch.h"
|
||||||
#include "utils/guc.h"
|
#include "utils/guc.h"
|
||||||
#include "utils/memutils.h"
|
#include "utils/memutils.h"
|
||||||
|
@ -204,7 +205,7 @@ CoordinatedTransactionCallback(XactEvent event, void *arg)
|
||||||
* been closed; force them closed here before running
|
* been closed; force them closed here before running
|
||||||
* RemoveIntermediateResultsDirectory.
|
* RemoveIntermediateResultsDirectory.
|
||||||
*/
|
*/
|
||||||
AtEOXact_Files();
|
AtEOXact_Files(false);
|
||||||
SwallowErrors(RemoveIntermediateResultsDirectory);
|
SwallowErrors(RemoveIntermediateResultsDirectory);
|
||||||
}
|
}
|
||||||
ResetShardPlacementTransactionState();
|
ResetShardPlacementTransactionState();
|
||||||
|
|
|
@ -179,7 +179,7 @@ TaskTrackerMain(Datum main_arg)
|
||||||
* hash and an LWLock guarding that hash.
|
* hash and an LWLock guarding that hash.
|
||||||
*/
|
*/
|
||||||
LWLockReleaseAll();
|
LWLockReleaseAll();
|
||||||
AtEOXact_Files();
|
AtEOXact_Files(false);
|
||||||
AtEOXact_HashTables(false);
|
AtEOXact_HashTables(false);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -55,6 +55,8 @@
|
||||||
#define BackgroundWorkerInitializeConnectionByOid(dboid, useroid, flags) \
|
#define BackgroundWorkerInitializeConnectionByOid(dboid, useroid, flags) \
|
||||||
BackgroundWorkerInitializeConnectionByOid(dboid, useroid)
|
BackgroundWorkerInitializeConnectionByOid(dboid, useroid)
|
||||||
|
|
||||||
|
#define AtEOXact_Files(isCommit) \
|
||||||
|
AtEOXact_Files()
|
||||||
|
|
||||||
#define ACLCHECK_OBJECT_TABLE ACL_KIND_CLASS
|
#define ACLCHECK_OBJECT_TABLE ACL_KIND_CLASS
|
||||||
#define ACLCHECK_OBJECT_SCHEMA ACL_KIND_NAMESPACE
|
#define ACLCHECK_OBJECT_SCHEMA ACL_KIND_NAMESPACE
|
||||||
|
|
Loading…
Reference in New Issue