greenplumn storage_tablespace_xact 源码
greenplumn storage_tablespace_xact 代码
文件路径:/src/backend/catalog/storage_tablespace_xact.c
/*-------------------------------------------------------------------------
*
* storage_tablespace_xact.c
*
* implement hooks for transactions and tablespace storage
*
* Portions Copyright (c) 2012-Present VMware, Inc. or its affiliates.
*
*
* IDENTIFICATION
* src/backend/catalog/storage_tablespace_xact.c
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "access/xact_storage_tablespace.h"
#include "catalog/storage_tablespace.h"
/*
* AtCommit_TablespaceStorage:
*
* Needs to happen before locks are released to ensure that no
* concurrent sessions are using the tablespace storage.
*
*/
void
AtCommit_TablespaceStorage(void)
{
DoPendingTablespaceDeletionForCommit();
UnscheduleTablespaceDirectoryDeletionForAbort();
}
/*
* AtAbort_TablespaceStorage:
*
* Needs to happen before locks are released to ensure that no
* concurrent sessions are using the tablespace storage.
*
*/
void
AtAbort_TablespaceStorage(void)
{
DoPendingTablespaceDeletionForAbort();
UnscheduleTablespaceDirectoryDeletionForCommit();
}
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦