greenplumn basebackup 源码

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

greenplumn basebackup 代码

文件路径:/src/include/replication/basebackup.h

/*-------------------------------------------------------------------------
 *
 * basebackup.h
 *	  Exports from replication/basebackup.c.
 *
 * Portions Copyright (c) 2010-2019, PostgreSQL Global Development Group
 *
 * src/include/replication/basebackup.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef _BASEBACKUP_H
#define _BASEBACKUP_H

#include "nodes/replnodes.h"

/*
 * Minimum and maximum values of MAX_RATE option in BASE_BACKUP command.
 */
#define MAX_RATE_LOWER	32
#define MAX_RATE_UPPER	1048576


typedef struct
{
	char	   *oid;
	char	   *path;
	char	   *rpath;			/* relative path within PGDATA, or NULL */
	int64		size;
} tablespaceinfo;

extern void SendBaseBackup(BaseBackupCmd *cmd);

extern int64 sendTablespace(char *path, bool sizeonly);

#endif							/* _BASEBACKUP_H */

相关信息

greenplumn 源码目录

相关文章

greenplumn decode 源码

greenplumn gp_replication 源码

greenplumn logical 源码

greenplumn logicalfuncs 源码

greenplumn logicallauncher 源码

greenplumn logicalproto 源码

greenplumn logicalrelation 源码

greenplumn logicalworker 源码

greenplumn message 源码

greenplumn origin 源码

0  赞