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:
parent
9bb5d8add7
commit
a63a0758de
|
|
@ -84,6 +84,7 @@ spec:
|
||||||
"limit_iops": 16000,
|
"limit_iops": 16000,
|
||||||
"limit_throughput": 1000,
|
"limit_throughput": 1000,
|
||||||
"postgresql_versions": [
|
"postgresql_versions": [
|
||||||
|
"16",
|
||||||
"15",
|
"15",
|
||||||
"14",
|
"14",
|
||||||
"13",
|
"13",
|
||||||
|
|
|
||||||
|
|
@ -375,6 +375,7 @@ spec:
|
||||||
- "13"
|
- "13"
|
||||||
- "14"
|
- "14"
|
||||||
- "15"
|
- "15"
|
||||||
|
- "16"
|
||||||
parameters:
|
parameters:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
|
|
|
||||||
|
|
@ -607,6 +607,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
|
||||||
{
|
{
|
||||||
Raw: []byte(`"15"`),
|
Raw: []byte(`"15"`),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Raw: []byte(`"16"`),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"parameters": {
|
"parameters": {
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ spec:
|
||||||
"limit_iops": 16000,
|
"limit_iops": 16000,
|
||||||
"limit_throughput": 1000,
|
"limit_throughput": 1000,
|
||||||
"postgresql_versions": [
|
"postgresql_versions": [
|
||||||
|
"16",
|
||||||
"15",
|
"15",
|
||||||
"14",
|
"14",
|
||||||
"13",
|
"13",
|
||||||
|
|
|
||||||
|
|
@ -321,7 +321,7 @@ DEFAULT_UI_CONFIG = {
|
||||||
'users_visible': True,
|
'users_visible': True,
|
||||||
'databases_visible': True,
|
'databases_visible': True,
|
||||||
'resources_visible': RESOURCES_VISIBLE,
|
'resources_visible': RESOURCES_VISIBLE,
|
||||||
'postgresql_versions': ['11', '12', '13', '14', '15'],
|
'postgresql_versions': ['11', '12', '13', '14', '15', '16'],
|
||||||
'dns_format_string': '{0}.{1}',
|
'dns_format_string': '{0}.{1}',
|
||||||
'pgui_link': '',
|
'pgui_link': '',
|
||||||
'static_network_whitelist': {},
|
'static_network_whitelist': {},
|
||||||
|
|
|
||||||
|
|
@ -308,7 +308,7 @@ def read_versions(
|
||||||
if uid == 'wal' or defaulting(lambda: UUID(uid))
|
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(
|
def read_basebackups(
|
||||||
pg_cluster,
|
pg_cluster,
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ default_operator_ui_config='{
|
||||||
"limit_iops": 16000,
|
"limit_iops": 16000,
|
||||||
"limit_throughput": 1000,
|
"limit_throughput": 1000,
|
||||||
"postgresql_versions": [
|
"postgresql_versions": [
|
||||||
|
"16",
|
||||||
"15",
|
"15",
|
||||||
"14",
|
"14",
|
||||||
"13",
|
"13",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue