Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
basebackup.h40 linesDownload Raw Back to backup
1/*-------------------------------------------------------------------------2 *3 * basebackup.h4 *	  Exports from replication/basebackup.c.5 *6 * Portions Copyright (c) 2010-2023, PostgreSQL Global Development Group7 *8 * src/include/backup/basebackup.h9 *10 *-------------------------------------------------------------------------11 */12#ifndef _BASEBACKUP_H13#define _BASEBACKUP_H14 15#include "nodes/replnodes.h"16 17/*18 * Minimum and maximum values of MAX_RATE option in BASE_BACKUP command.19 */20#define MAX_RATE_LOWER	3221#define MAX_RATE_UPPER	104857622 23/*24 * Information about a tablespace25 *26 * In some usages, "path" can be NULL to denote the PGDATA directory itself.27 */28typedef struct29{30	char	   *oid;			/* tablespace's OID, as a decimal string */31	char	   *path;			/* full path to tablespace's directory */32	char	   *rpath;			/* relative path if it's within PGDATA, else33								 * NULL */34	int64		size;			/* total size as sent; -1 if not known */35} tablespaceinfo;36 37extern void SendBaseBackup(BaseBackupCmd *cmd);38 39#endif							/* _BASEBACKUP_H */40 
codekingpro/portable-devtools · Team Ai