greenplumn storage_tablespace_twophase 源码

  • 2022-08-18
  • 浏览 (460)

greenplumn storage_tablespace_twophase 代码

文件路径:/src/backend/catalog/storage_tablespace_twophase.c

/*-------------------------------------------------------------------------
 *
 * storage_tablespace_twophase.c
 *
 *	  implement hooks for twophase and tablespace storage
 *
 * Portions Copyright (c) 2012-Present VMware, Inc. or its affiliates.
 *
 *
 * IDENTIFICATION
 *	  src/backend/catalog/storage_tablespace_twophase.c
 *
 *-------------------------------------------------------------------------
 */
#include "postgres.h"

#include "catalog/storage_tablespace.h"
#include "access/twophase_storage_tablespace.h"


void
AtTwoPhaseCommit_TablespaceStorage()
{
	DoPendingTablespaceDeletionForCommit();
	UnscheduleTablespaceDirectoryDeletionForAbort();
}


void
AtTwoPhaseAbort_TablespaceStorage()
{
	DoPendingTablespaceDeletionForAbort();
	UnscheduleTablespaceDirectoryDeletionForCommit();
}

相关信息

greenplumn 源码目录

相关文章

greenplumn aclchk 源码

greenplumn aoblkdir 源码

greenplumn aocatalog 源码

greenplumn aoseg 源码

greenplumn aovisimap 源码

greenplumn catalog 源码

greenplumn dependency 源码

greenplumn gp_fastsequence 源码

greenplumn gp_partition_template 源码

greenplumn gp_segment_config 源码

0  赞