Edit report at https://bugs.php.net/bug.php?id=76830&edit=1
ID: 76830
Updated by: [email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.