Skip to content

Commit a63a075

Browse files
tm604Tom MolesworthFxKu
authored
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 <[email protected]> Co-authored-by: Felix Kunde <[email protected]>
1 parent 9bb5d8a commit a63a075

File tree

7 files changed

+9
-2
lines changed

7 files changed

+9
-2
lines changed

charts/postgres-operator-ui/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ spec:
8484
"limit_iops": 16000,
8585
"limit_throughput": 1000,
8686
"postgresql_versions": [
87+
"16",
8788
"15",
8889
"14",
8990
"13",

manifests/postgresql.crd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ spec:
375375
- "13"
376376
- "14"
377377
- "15"
378+
- "16"
378379
parameters:
379380
type: object
380381
additionalProperties:

pkg/apis/acid.zalan.do/v1/crds.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
607607
{
608608
Raw: []byte(`"15"`),
609609
},
610+
{
611+
Raw: []byte(`"16"`),
612+
},
610613
},
611614
},
612615
"parameters": {

ui/manifests/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ spec:
7373
"limit_iops": 16000,
7474
"limit_throughput": 1000,
7575
"postgresql_versions": [
76+
"16",
7677
"15",
7778
"14",
7879
"13",

ui/operator_ui/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def index():
321321
'users_visible': True,
322322
'databases_visible': True,
323323
'resources_visible': RESOURCES_VISIBLE,
324-
'postgresql_versions': ['11', '12', '13', '14', '15'],
324+
'postgresql_versions': ['11', '12', '13', '14', '15', '16'],
325325
'dns_format_string': '{0}.{1}',
326326
'pgui_link': '',
327327
'static_network_whitelist': {},

ui/operator_ui/spiloutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def read_versions(
308308
if uid == 'wal' or defaulting(lambda: UUID(uid))
309309
]
310310

311-
BACKUP_VERSION_PREFIXES = ['', '9.6/', '10/', '11/', '12/', '13/', '14/', '15/']
311+
BACKUP_VERSION_PREFIXES = ['', '9.6/', '10/', '11/', '12/', '13/', '14/', '15/', '16/']
312312

313313
def read_basebackups(
314314
pg_cluster,

ui/run_local.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ default_operator_ui_config='{
3131
"limit_iops": 16000,
3232
"limit_throughput": 1000,
3333
"postgresql_versions": [
34+
"16",
3435
"15",
3536
"14",
3637
"13",

0 commit comments

Comments
 (0)