2019-03-21 21:11:36 +04:00
|
|
|
/***********************************************************************************************************************************
|
|
|
|
PostgreSQL Version Interface
|
|
|
|
***********************************************************************************************************************************/
|
|
|
|
#ifndef POSTGRES_INTERFACE_VERSION_H
|
|
|
|
#define POSTGRES_INTERFACE_VERSION_H
|
|
|
|
|
|
|
|
#include "postgres/interface.h"
|
|
|
|
|
|
|
|
/***********************************************************************************************************************************
|
|
|
|
Functions
|
|
|
|
***********************************************************************************************************************************/
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion083(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs083(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl083(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion083(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs083(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal083(const unsigned char *controlFile);
|
|
|
|
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion084(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs084(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl084(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion084(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs084(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal084(const unsigned char *controlFile);
|
|
|
|
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion090(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs090(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl090(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion090(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs090(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal090(const unsigned char *controlFile);
|
|
|
|
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion091(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs091(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl091(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion091(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs091(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal091(const unsigned char *controlFile);
|
|
|
|
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion092(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs092(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl092(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion092(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs092(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal092(const unsigned char *controlFile);
|
|
|
|
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion093(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs093(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl093(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion093(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs093(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal093(const unsigned char *controlFile);
|
|
|
|
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion094(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs094(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl094(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion094(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs094(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal094(const unsigned char *controlFile);
|
|
|
|
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion095(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs095(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl095(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion095(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs095(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal095(const unsigned char *controlFile);
|
|
|
|
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion096(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs096(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl096(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion096(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs096(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal096(const unsigned char *controlFile);
|
|
|
|
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion100(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs100(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl100(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion100(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs100(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal100(const unsigned char *controlFile);
|
|
|
|
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceCatalogVersion110(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceControlIs110(const unsigned char *controlFile);
|
|
|
|
PgControl pgInterfaceControl110(const unsigned char *controlFile);
|
2019-09-07 18:04:39 -04:00
|
|
|
uint32_t pgInterfaceControlVersion110(void);
|
2019-03-21 21:11:36 +04:00
|
|
|
bool pgInterfaceWalIs110(const unsigned char *walFile);
|
|
|
|
PgWal pgInterfaceWal110(const unsigned char *controlFile);
|
|
|
|
|
|
|
|
/***********************************************************************************************************************************
|
|
|
|
Test Functions
|
|
|
|
***********************************************************************************************************************************/
|
|
|
|
#ifdef DEBUG
|
|
|
|
void pgInterfaceControlTest083(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest083(PgWal pgWal, unsigned char *buffer);
|
|
|
|
|
|
|
|
void pgInterfaceControlTest084(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest084(PgWal pgWal, unsigned char *buffer);
|
|
|
|
|
|
|
|
void pgInterfaceControlTest090(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest090(PgWal pgWal, unsigned char *buffer);
|
|
|
|
|
|
|
|
void pgInterfaceControlTest091(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest091(PgWal pgWal, unsigned char *buffer);
|
|
|
|
|
|
|
|
void pgInterfaceControlTest092(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest092(PgWal pgWal, unsigned char *buffer);
|
|
|
|
|
|
|
|
void pgInterfaceControlTest093(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest093(PgWal pgWal, unsigned char *buffer);
|
|
|
|
|
|
|
|
void pgInterfaceControlTest094(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest094(PgWal pgWal, unsigned char *buffer);
|
|
|
|
|
|
|
|
void pgInterfaceControlTest095(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest095(PgWal pgWal, unsigned char *buffer);
|
|
|
|
|
|
|
|
void pgInterfaceControlTest096(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest096(PgWal pgWal, unsigned char *buffer);
|
|
|
|
|
|
|
|
void pgInterfaceControlTest100(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest100(PgWal pgWal, unsigned char *buffer);
|
|
|
|
|
|
|
|
void pgInterfaceControlTest110(PgControl pgControl, unsigned char *buffer);
|
|
|
|
void pgInterfaceWalTest110(PgWal pgWal, unsigned char *buffer);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|