Merge ~lgp171188/launchpad:allow-database-setup-postgres-12 into launchpad:master

Proposed by Guruprasad
Status: Merged
Approved by: Guruprasad
Approved revision: 70f6ed25a5ef2fab3517bc7df395b4979ab9381a
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~lgp171188/launchpad:allow-database-setup-postgres-12
Merge into: launchpad:master
Diff against target: 13 lines (+1/-1)
1 file modified
utilities/launchpad-database-setup (+1/-1)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+428980@code.launchpad.net

Commit message

Allow running launchpad-database-setup on Postgres 12

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/utilities/launchpad-database-setup b/utilities/launchpad-database-setup
2index e78931e..b3cae18 100755
3--- a/utilities/launchpad-database-setup
4+++ b/utilities/launchpad-database-setup
5@@ -24,7 +24,7 @@ pgversion=
6 # This loop contains multiple versions when we are in the process of
7 # migrating between PostgreSQL versions.
8 # shellcheck disable=SC2043
9-for try_pgversion in 10
10+for try_pgversion in 10 12
11 do
12 if sudo grep -qs "^auto" /etc/postgresql/$try_pgversion/main/start.conf; then
13 pgversion="$try_pgversion"

Subscribers

People subscribed via source and target branches

to status/vote changes: