Adds PostgreSQL 16.0 Support (#7201)

This commit concludes PG16.0 Support in Citus.

The main PG16 support work has been done for 16beta3
https://github.com/citusdata/citus/pull/6952
There was some extra work needed for 16rc1
https://github.com/citusdata/citus/pull/7173
And this PR yet introduces some extra work needed to 16.0 :)

`pgstat_fetch_stat_local_beentry` has been renamed to
`pgstat_get_local_beentry_by_index` in PG16.0

Relevant PG commit:
8dfa37b797
8dfa37b797843a83a5756ea3309055e8953e1a86

Sister PR
https://github.com/citusdata/the-process/pull/150
pull/6697/head
Naisila Puka 2023-09-15 12:23:04 +03:00 committed by GitHub
parent 7c0b289761
commit 4e46708789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,7 @@ orbs:
parameters:
image_suffix:
type: string
default: '-v641cdcd'
default: '-v87fd773'
pg14_version:
type: string
default: '14.9'
@ -15,10 +15,10 @@ parameters:
default: '15.4'
pg16_version:
type: string
default: '16rc1'
default: '16.0'
upgrade_pg_versions:
type: string
default: '14.9-15.4-16rc1'
default: '14.9-15.4-16.0'
style_checker_tools_version:
type: string
default: '0.8.18'

View File

@ -46,6 +46,8 @@ get_guc_variables_compat(int *gucCount)
#define object_ownercheck(a, b, c) object_ownercheck(a, b, c)
#define object_aclcheck(a, b, c, d) object_aclcheck(a, b, c, d)
#define pgstat_fetch_stat_local_beentry(a) pgstat_get_local_beentry_by_index(a)
#else
#include "catalog/pg_class_d.h"