rdbms: Use correct value for 'sslmode' in DatabasePostgres
authorMark A. Hershberger <mah@nichework.com>
Thu, 9 Aug 2018 20:18:34 +0000 (16:18 -0400)
committerReedy <reedy@wikimedia.org>
Thu, 14 Nov 2019 18:39:16 +0000 (18:39 +0000)
commite0b5a7ef2180e5ae137b5c9be29fea4a3ef36704
tree817cd2f39e6e8b19919d8ef3e217dd6418566fbb
parent5bbace1a3667997a6ecc94c2d7259615bdc4176c
rdbms: Use correct value for 'sslmode' in DatabasePostgres

Fix Postgres support by using â€˜sslmode=require' instead of â€˜sslmode=1'.

See https://www.postgresql.org/docs/current/static/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS

Change-Id: I424b0e3e144bbe9f0a2bde9a3b4a674dde10c729
(cherry picked from commit 2e5d114a99cf162074f92fc390590da44084362d)
includes/libs/rdbms/database/DatabasePostgres.php