You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-27 00:21:08 +02:00
Add pgControlInfo() to read pg_control and determine the PostgreSQL version.
This commit is contained in:
22
src/postgres/version.h
Normal file
22
src/postgres/version.h
Normal file
@ -0,0 +1,22 @@
|
||||
/***********************************************************************************************************************************
|
||||
PostreSQL Version Constants
|
||||
***********************************************************************************************************************************/
|
||||
#ifndef POSTGRES_VERSION_H
|
||||
#define POSTGRES_VERSION_H
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
PostgreSQL version constants
|
||||
***********************************************************************************************************************************/
|
||||
#define PG_VERSION_83 80300
|
||||
#define PG_VERSION_84 80400
|
||||
#define PG_VERSION_90 90000
|
||||
#define PG_VERSION_91 90100
|
||||
#define PG_VERSION_92 90200
|
||||
#define PG_VERSION_93 90300
|
||||
#define PG_VERSION_94 90400
|
||||
#define PG_VERSION_95 90500
|
||||
#define PG_VERSION_96 90600
|
||||
#define PG_VERSION_10 100000
|
||||
#define PG_VERSION_11 110000
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user