PG-1900 Remove compatibility with PG-12

PG-12 reached EOL one year ago, so we can cleanup compatibiliby code for
that version and remove related CI workflows. This change requires
migration script to remove pgsm_create_11_view SQL function and as a result it
requires extension version bump.
This commit is contained in:
Artem Gavrilov
2025-08-28 15:23:55 +02:00
committed by Artem Gavrilov
parent 2ec31f69ee
commit 1e32b52a3f
16 changed files with 54 additions and 557 deletions

View File

@@ -102,12 +102,7 @@
#define MIN_QUERY_LEN 10
#define SQLCODE_LEN 20
#define TOTAL_RELS_LENGTH (REL_LST * REL_LEN)
#if PG_VERSION_NUM >= 130000
#define MAX_SETTINGS 15
#else
#define MAX_SETTINGS 14
#endif
/* Update this if need a enum GUC with more options. */
#define MAX_ENUM_OPTIONS 6
@@ -143,17 +138,6 @@
#define PGSM_HASH_SEQ_STATUS HASH_SEQ_STATUS
#endif
#if PG_VERSION_NUM < 130000
typedef struct WalUsage
{
long wal_records; /* # of WAL records produced */
long wal_fpi; /* # of WAL full page images produced */
uint64 wal_bytes; /* size of WAL records produced */
} WalUsage;
#endif
typedef enum pgsmStoreKind
{
PGSM_INVALID = -1,