Doc #76830 [Opn->Csd]: PDO_PGSQL DSN could have "sslmode" documented

From: Date: Mon, 08 Nov 2021 13:32:24 +0000
Subject: Doc #76830 [Opn->Csd]: PDO_PGSQL DSN could have "sslmode" documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-19311@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76830&edit=1

 ID:                 76830
 Updated by:         git@php.net
 Reported by:        michael dot mauch at gmx dot de
 Summary:            PDO_PGSQL DSN could have "sslmode" documented
-Status:             Open
+Status:             Closed
 Type:               Documentation Problem
 Package:            PDO PgSQL
 Operating System:   all
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of cmb69
Revision: https://github.com/php/doc-en/commit/a0f0f0446d4327a1c7a48ea7ee3502b6ebec56b8
Log: Fix #76830: PDO_PGSQL DSN could have "sslmode" documented


Previous Comments:
------------------------------------------------------------------------
[2018-08-31 21:55:55] michael dot mauch at gmx dot de

Description:
------------
It would be nice if http://php.net/manual/en/ref.pdo-pgsql.connection.php
would tell users that they can add the option "sslmode" to the DSN. At the moment
it's only mentioned in a user comment.

https://www.postgresql.org/docs/current/static/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS
shows the valid sslmode values (like "sslmode=require").


Expected result:
----------------
Maybe something like this could be added to that page:

If you want to use encryption, you can add the option "sslmode" to the DSN. It must have a
value shown in https://www.postgresql.org/docs/current/static/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS
(e.g. "sslmode=require").



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=76830&edit=1


Thread (2 messages)

« previous php.doc.bugs (#19311) next »