blob: 81e17ac1f2ca730e1b3e10f82cfb914e63eec60a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*-------------------------------------------------------------------------
*
* logging.h
* prototypes for logging functions
*
*
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*-------------------------------------------------------------------------
*/
#ifndef PG_REWIND_LOGGING_H
#define PG_REWIND_LOGGING_H
#include "fe_utils/logging.h"
/* progress counters */
extern uint64 fetch_size;
extern uint64 fetch_done;
extern void progress_report(bool force);
#define pg_fatal(...) do { pg_log_fatal(__VA_ARGS__); exit(1); } while(0)
#endif /* PG_REWIND_LOGGING_H */
|