mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
pgindent run for 9.5
This commit is contained in:
@@ -23,13 +23,13 @@
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
FILE_ACTION_CREATE, /* create local directory or symbolic link */
|
||||
FILE_ACTION_COPY, /* copy whole file, overwriting if exists */
|
||||
FILE_ACTION_COPY_TAIL, /* copy tail from 'oldsize' to 'newsize' */
|
||||
FILE_ACTION_NONE, /* no action (we might still copy modified blocks
|
||||
* based on the parsed WAL) */
|
||||
FILE_ACTION_TRUNCATE, /* truncate local file to 'newsize' bytes */
|
||||
FILE_ACTION_REMOVE /* remove local file / directory / symlink */
|
||||
FILE_ACTION_CREATE, /* create local directory or symbolic link */
|
||||
FILE_ACTION_COPY, /* copy whole file, overwriting if exists */
|
||||
FILE_ACTION_COPY_TAIL, /* copy tail from 'oldsize' to 'newsize' */
|
||||
FILE_ACTION_NONE, /* no action (we might still copy modified
|
||||
* blocks based on the parsed WAL) */
|
||||
FILE_ACTION_TRUNCATE, /* truncate local file to 'newsize' bytes */
|
||||
FILE_ACTION_REMOVE /* remove local file / directory / symlink */
|
||||
} file_action_t;
|
||||
|
||||
typedef enum
|
||||
@@ -51,10 +51,10 @@ typedef struct file_entry_t
|
||||
size_t newsize;
|
||||
bool isrelfile; /* is it a relation data file? */
|
||||
|
||||
datapagemap_t pagemap;
|
||||
datapagemap_t pagemap;
|
||||
|
||||
/* for a symlink */
|
||||
char *link_target;
|
||||
char *link_target;
|
||||
|
||||
struct file_entry_t *next;
|
||||
} file_entry_t;
|
||||
@@ -72,16 +72,16 @@ typedef struct filemap_t
|
||||
/*
|
||||
* After processing all the remote files, the entries in the linked list
|
||||
* are moved to this array. After processing local files, too, all the
|
||||
* local entries are added to the array by filemap_finalize, and sorted
|
||||
* in the final order. After filemap_finalize, all the entries are in
|
||||
* the array, and the linked list is empty.
|
||||
* local entries are added to the array by filemap_finalize, and sorted in
|
||||
* the final order. After filemap_finalize, all the entries are in the
|
||||
* array, and the linked list is empty.
|
||||
*/
|
||||
file_entry_t **array;
|
||||
int narray; /* current length of array */
|
||||
|
||||
/*
|
||||
* Summary information. total_size is the total size of the source cluster,
|
||||
* and fetch_size is the number of bytes that needs to be copied.
|
||||
* Summary information. total_size is the total size of the source
|
||||
* cluster, and fetch_size is the number of bytes that needs to be copied.
|
||||
*/
|
||||
uint64 total_size;
|
||||
uint64 fetch_size;
|
||||
|
Reference in New Issue
Block a user