2018-09-25 10:24:42 +01:00
|
|
|
/***********************************************************************************************************************************
|
|
|
|
PostgreSQL 10 Interface
|
|
|
|
***********************************************************************************************************************************/
|
|
|
|
#ifndef POSTGRES_INTERFACE_INTERFACE100_H
|
|
|
|
#define POSTGRES_INTERFACE_INTERFACE100_H
|
|
|
|
|
|
|
|
#include "postgres/interface.h"
|
|
|
|
|
|
|
|
/***********************************************************************************************************************************
|
|
|
|
Functions
|
|
|
|
***********************************************************************************************************************************/
|
2019-03-18 22:10:25 +04:00
|
|
|
bool pgInterfaceControlIs100(const Buffer *controlFile);
|
2018-09-25 10:24:42 +01:00
|
|
|
PgControl pgInterfaceControl100(const Buffer *controlFile);
|
2019-03-19 19:44:06 +04:00
|
|
|
bool pgInterfaceWalIs100(const Buffer *walFile);
|
|
|
|
PgWal pgInterfaceWal100(const Buffer *controlFile);
|
2018-09-25 10:24:42 +01:00
|
|
|
|
|
|
|
/***********************************************************************************************************************************
|
|
|
|
Test Functions
|
|
|
|
***********************************************************************************************************************************/
|
|
|
|
#ifdef DEBUG
|
|
|
|
void pgInterfaceControlTest100(PgControl pgControl, Buffer *buffer);
|
2019-03-19 19:44:06 +04:00
|
|
|
void pgInterfaceWalTest100(PgWal pgWal, Buffer *buffer);
|
2018-09-25 10:24:42 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|