Skip to content

Commit 696d603

Browse files
authored
chore: Update to postgres 16 (#624)
New major version of flexible PostgreSQL available in our Azure region ## Verification - [x] **Your** code builds clean without any errors or warnings - [x] Manual testing done (required) - [x] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [x] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable)
1 parent bde5c5c commit 696d603

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.azure/modules/postgreSql/create.bicep

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ var databaseName = 'dialogporten'
2525
// //wal_level: 'logical'
2626
// //max_worker_processes: '16'
2727

28-
// // The leading theory is that we are using pgoutput as the replication protocol
29-
// // which comes out of the box in postgresql. Therefore we may not need the
28+
// // The leading theory is that we are using pgoutput as the replication protocol
29+
// // which comes out of the box in postgresql. Therefore we may not need the
3030
// // following two lines.
3131
// //'azure.extensions': 'pglogical'
3232
// //shared_preload_libraries: 'pglogical'
@@ -46,7 +46,7 @@ resource postgres 'Microsoft.DBforPostgreSQL/flexibleServers@2022-12-01' = {
4646
name: '${namePrefix}-postgres'
4747
location: location
4848
properties: {
49-
version: '15'
49+
version: '16'
5050
administratorLogin: administratorLogin
5151
administratorLoginPassword: administratorLoginPassword
5252
storage: { storageSizeGB: 32 }

docker-compose-no-webapi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.9'
22

33
services:
44
dialogporten-postgres:
5-
image: postgres:15.4
5+
image: postgres:16.2
66
restart: always
77
command: postgres -c wal_level=logical
88
environment:

0 commit comments

Comments
 (0)