pgsql: Doc: Fix misleading wording of CRL parameters

2021-12-03 Thread Daniel Gustafsson
Doc: Fix misleading wording of CRL parameters ssl_crl_file and ssl_crl_dir are both used to for client certificate revocation, not server certificates. The description for the params could be easily misread to mean the opposite however, as evidenced by the bugreport leading to this fix. Similar

pgsql: Doc: Fix misleading wording of CRL parameters

2021-12-03 Thread Daniel Gustafsson
Doc: Fix misleading wording of CRL parameters ssl_crl_file and ssl_crl_dir are both used to for client certificate revocation, not server certificates. The description for the params could be easily misread to mean the opposite however, as evidenced by the bugreport leading to this fix. Similar

pgsql: Doc: Fix misleading wording of CRL parameters

2021-12-03 Thread Daniel Gustafsson
Doc: Fix misleading wording of CRL parameters ssl_crl_file and ssl_crl_dir are both used to for client certificate revocation, not server certificates. The description for the params could be easily misread to mean the opposite however, as evidenced by the bugreport leading to this fix. Similar

pgsql: Doc: Fix misleading wording of CRL parameters

2021-12-03 Thread Daniel Gustafsson
Doc: Fix misleading wording of CRL parameters ssl_crl_file and ssl_crl_dir are both used to for client certificate revocation, not server certificates. The description for the params could be easily misread to mean the opposite however, as evidenced by the bugreport leading to this fix. Similar

pgsql: Doc: Fix misleading wording of CRL parameters

2021-12-03 Thread Daniel Gustafsson
Doc: Fix misleading wording of CRL parameters ssl_crl_file and ssl_crl_dir are both used to for client certificate revocation, not server certificates. The description for the params could be easily misread to mean the opposite however, as evidenced by the bugreport leading to this fix. Similar

pgsql: Doc: Fix misleading wording of CRL parameters

2021-12-03 Thread Daniel Gustafsson
Doc: Fix misleading wording of CRL parameters ssl_crl_file and ssl_crl_dir are both used to for client certificate revocation, not server certificates. The description for the params could be easily misread to mean the opposite however, as evidenced by the bugreport leading to this fix. Similar

pgsql: Some RELKIND macro refactoring

2021-12-03 Thread Peter Eisentraut
Some RELKIND macro refactoring Add more macros to group some RELKIND_* macros: - RELKIND_HAS_PARTITIONS() - RELKIND_HAS_TABLESPACE() - RELKIND_HAS_TABLE_AM() Reviewed-by: Michael Paquier Reviewed-by: Alvaro Herrera Discussion: https://www.postgresql.org/message-id/flat/a574c8f1-9c84-93ad-a9e5

Re: pgsql: Add TAP tests for contrib/sslinfo

2021-12-03 Thread Daniel Gustafsson
> On 2 Dec 2021, at 23:54, Andres Freund wrote: > Cool. I guess you're coming to commit something like that? After another successful pass with MSVC in the CI setup I've pushed this now. -- Daniel Gustafsson https://vmware.com/

pgsql: Fix path delimiters in connection string on Windows

2021-12-03 Thread Daniel Gustafsson
Fix path delimiters in connection string on Windows The temporary path generated in commit c113d8ad5 cannot be passed as-is in the connection string on Windows since the path delimiting backslashes will be treated as escape characters. Fix by converting backslash to slash as in similar path usecas

pgsql: postgres_fdw: Fix unexpected reporting of empty message.

2021-12-03 Thread Fujii Masao
postgres_fdw: Fix unexpected reporting of empty message. pgfdw_report_error() in postgres_fdw gets a message from PGresult or PGconn to report an error received from a remote server. Previously if it could get a message from neither of them, it reported empty message unexpectedly. The cause of thi

pgsql: postgres_fdw: Fix unexpected reporting of empty message.

2021-12-03 Thread Fujii Masao
postgres_fdw: Fix unexpected reporting of empty message. pgfdw_report_error() in postgres_fdw gets a message from PGresult or PGconn to report an error received from a remote server. Previously if it could get a message from neither of them, it reported empty message unexpectedly. The cause of thi

pgsql: postgres_fdw: Fix unexpected reporting of empty message.

2021-12-03 Thread Fujii Masao
postgres_fdw: Fix unexpected reporting of empty message. pgfdw_report_error() in postgres_fdw gets a message from PGresult or PGconn to report an error received from a remote server. Previously if it could get a message from neither of them, it reported empty message unexpectedly. The cause of thi

pgsql: postgres_fdw: Fix unexpected reporting of empty message.

2021-12-03 Thread Fujii Masao
postgres_fdw: Fix unexpected reporting of empty message. pgfdw_report_error() in postgres_fdw gets a message from PGresult or PGconn to report an error received from a remote server. Previously if it could get a message from neither of them, it reported empty message unexpectedly. The cause of thi

pgsql: postgres_fdw: Fix unexpected reporting of empty message.

2021-12-03 Thread Fujii Masao
postgres_fdw: Fix unexpected reporting of empty message. pgfdw_report_error() in postgres_fdw gets a message from PGresult or PGconn to report an error received from a remote server. Previously if it could get a message from neither of them, it reported empty message unexpectedly. The cause of thi

pgsql: postgres_fdw: Fix unexpected reporting of empty message.

2021-12-03 Thread Fujii Masao
postgres_fdw: Fix unexpected reporting of empty message. pgfdw_report_error() in postgres_fdw gets a message from PGresult or PGconn to report an error received from a remote server. Previously if it could get a message from neither of them, it reported empty message unexpectedly. The cause of thi