Add support for PostgreSQL 16 (#2437)

* Add support for PostgreSQL 16
* Include pg16 in local script and logical-backup Dockerfile

---------

Co-authored-by: Tom Molesworth <tom@audioboundary.com>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
tm604 2024-03-05 22:43:33 +08:00 committed by GitHub
parent 9bb5d8add7
commit a63a0758de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 9 additions and 2 deletions

View File

@ -84,6 +84,7 @@ spec:
"limit_iops": 16000,
"limit_throughput": 1000,
"postgresql_versions": [
"16",
"15",
"14",
"13",

View File

@ -375,6 +375,7 @@ spec:
- "13"
- "14"
- "15"
- "16"
parameters:
type: object
additionalProperties:

View File

@ -607,6 +607,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
{
Raw: []byte(`"15"`),
},
{
Raw: []byte(`"16"`),
},
},
},
"parameters": {

View File

@ -73,6 +73,7 @@ spec:
"limit_iops": 16000,
"limit_throughput": 1000,
"postgresql_versions": [
"16",
"15",
"14",
"13",

View File

@ -321,7 +321,7 @@ DEFAULT_UI_CONFIG = {
'users_visible': True,
'databases_visible': True,
'resources_visible': RESOURCES_VISIBLE,
'postgresql_versions': ['11', '12', '13', '14', '15'],
'postgresql_versions': ['11', '12', '13', '14', '15', '16'],
'dns_format_string': '{0}.{1}',
'pgui_link': '',
'static_network_whitelist': {},

View File

@ -308,7 +308,7 @@ def read_versions(
if uid == 'wal' or defaulting(lambda: UUID(uid))
]
BACKUP_VERSION_PREFIXES = ['', '9.6/', '10/', '11/', '12/', '13/', '14/', '15/']
BACKUP_VERSION_PREFIXES = ['', '9.6/', '10/', '11/', '12/', '13/', '14/', '15/', '16/']
def read_basebackups(
pg_cluster,

View File

@ -31,6 +31,7 @@ default_operator_ui_config='{
"limit_iops": 16000,
"limit_throughput": 1000,
"postgresql_versions": [
"16",
"15",
"14",
"13",