35#define PIPE_CHUNK_SIZE 65536
37#define PIPE_CHUNK_SIZE ((int) PIPE_BUF)
41#define PIPE_CHUNK_SIZE 512
59#define PIPE_HEADER_SIZE offsetof(PipeProtoHeader, data)
60#define PIPE_MAX_PAYLOAD ((int) (PIPE_CHUNK_SIZE - PIPE_HEADER_SIZE))
63#define PIPE_PROTO_IS_LAST 0x01
65#define PIPE_PROTO_DEST_STDERR 0x10
66#define PIPE_PROTO_DEST_CSVLOG 0x20
67#define PIPE_PROTO_DEST_JSONLOG 0x40
102#define LOG_METAINFO_DATAFILE "current_logfiles"
103#define LOG_METAINFO_DATAFILE_TMP LOG_METAINFO_DATAFILE ".tmp"
#define FLEXIBLE_ARRAY_MEMBER
NON_EXEC_STATIC pg_time_t first_syslogger_file_time
PGDLLIMPORT int Log_file_mode
PGDLLIMPORT bool Logging_collector
PGDLLIMPORT int Log_RotationAge
pg_noreturn void SysLoggerMain(const void *startup_data, size_t startup_data_len)
bool CheckLogrotateSignal(void)
PGDLLIMPORT char * Log_filename
PGDLLIMPORT int Log_RotationSize
PGDLLIMPORT int syslogPipe[2]
void RemoveLogrotateSignalFiles(void)
void write_syslogger_file(const char *buffer, int count, int destination)
PGDLLIMPORT bool Log_truncate_on_rotation
PGDLLIMPORT char * Log_directory
int SysLogger_Start(int child_slot)