You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-03 00:26:59 +02:00
Per our policy to support five EOL versions of PostgreSQL, 9.4 is no longer supported by pgBackRest. Remove all logic associated with 9.4 and update the tests. This includes a small fix in infoPg.c to allow backup.info files with old versions to be saved. This allows expire to function when old versions are present. Even though those older versions cannot be used, they can be expired. Tests for 9.4 are left in the expire/info tests to demonstrate that these commands work with old versions present.
19 lines
865 B
C
19 lines
865 B
C
/***********************************************************************************************************************************
|
|
CRC-32 Calculation
|
|
|
|
CRC-32 and CRC-32C calculations required to validate the integrity of pg_control.
|
|
***********************************************************************************************************************************/
|
|
#ifndef POSTGRES_INTERFACE_CRC32_H
|
|
#define POSTGRES_INTERFACE_CRC32_H
|
|
|
|
#include <inttypes.h>
|
|
#include <stddef.h>
|
|
|
|
/***********************************************************************************************************************************
|
|
Functions
|
|
***********************************************************************************************************************************/
|
|
// Generate CRC-32C checksum
|
|
FN_EXTERN uint32_t crc32cOne(const unsigned char *data, size_t size);
|
|
|
|
#endif
|