pgsql: doc PG 18 relnotes: fix missing parens for crc32c()

2025-05-09 Thread Bruce Momjian
doc PG 18 relnotes: fix missing parens for crc32c() Reported-by: Steven Niu Discussion: https://postgr.es/m/CABBtG=ejqk58cfwpw3etvzfqfhjc-qoqv+9gqwrnlo+p9wy...@mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/89372d0aaa4a6f0e560acdf9014c5ad66fdde1b1

pgsql: Add support for runtime arguments in injection points

2025-05-09 Thread Michael Paquier
Add support for runtime arguments in injection points The macros INJECTION_POINT() and INJECTION_POINT_CACHED() are extended with an optional argument that can be passed down to the callback attached when an injection point is run, giving to callbacks the possibility to manipulate a stack state gi

pgsql: Skip RSA-PSS ssl test when using LibreSSL.

2025-05-09 Thread Tom Lane
Skip RSA-PSS ssl test when using LibreSSL. Presently, LibreSSL does not have working support for RSA-PSS, so disable that test. Per discussion at https://marc.info/?l=libressl&m=174664225002441&w=2 they do intend to fix this, but it's a ways off yet. Reported-by: Thomas Munro Author: Tom Lane

pgsql: Ooops ... add required configure support.

2025-05-09 Thread Tom Lane
Ooops ... add required configure support. The previous commit assumed we have a configure probe for SSL_CTX_set_cert_cb. v15 lacks that, so add it now. (Details borrowed from 36f40ce2d.) Reported-by: Thomas Munro Author: Tom Lane Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m

pgsql: Skip RSA-PSS ssl test when using LibreSSL.

2025-05-09 Thread Tom Lane
Skip RSA-PSS ssl test when using LibreSSL. Presently, LibreSSL does not have working support for RSA-PSS, so disable that test. Per discussion at https://marc.info/?l=libressl&m=174664225002441&w=2 they do intend to fix this, but it's a ways off yet. Reported-by: Thomas Munro Author: Tom Lane

pgsql: Centralize ssl tests' check for whether we're using LibreSSL.

2025-05-09 Thread Tom Lane
Centralize ssl tests' check for whether we're using LibreSSL. Right now there's only one caller, so that this is merely an exercise in shoving code from one module to another, but there will shortly be another one. It seems better to avoid having two copies of this highly-subject-to-change test.

pgsql: Skip RSA-PSS ssl test when using LibreSSL.

2025-05-09 Thread Tom Lane
Skip RSA-PSS ssl test when using LibreSSL. Presently, LibreSSL does not have working support for RSA-PSS, so disable that test. Per discussion at https://marc.info/?l=libressl&m=174664225002441&w=2 they do intend to fix this, but it's a ways off yet. Reported-by: Thomas Munro Author: Tom Lane

pgsql: Centralize ssl tests' check for whether we're using LibreSSL.

2025-05-09 Thread Tom Lane
Centralize ssl tests' check for whether we're using LibreSSL. Right now there's only one caller, so that this is merely an exercise in shoving code from one module to another, but there will shortly be another one. It seems better to avoid having two copies of this highly-subject-to-change test.

pgsql: Centralize ssl tests' check for whether we're using LibreSSL.

2025-05-09 Thread Tom Lane
Centralize ssl tests' check for whether we're using LibreSSL. Right now there's only one caller, so that this is merely an exercise in shoving code from one module to another, but there will shortly be another one. It seems better to avoid having two copies of this highly-subject-to-change test.

pgsql: Skip RSA-PSS ssl test when using LibreSSL.

2025-05-09 Thread Tom Lane
Skip RSA-PSS ssl test when using LibreSSL. Presently, LibreSSL does not have working support for RSA-PSS, so disable that test. Per discussion at https://marc.info/?l=libressl&m=174664225002441&w=2 they do intend to fix this, but it's a ways off yet. Reported-by: Thomas Munro Author: Tom Lane

pgsql: Centralize ssl tests' check for whether we're using LibreSSL.

2025-05-09 Thread Tom Lane
Centralize ssl tests' check for whether we're using LibreSSL. Right now there's only one caller, so that this is merely an exercise in shoving code from one module to another, but there will shortly be another one. It seems better to avoid having two copies of this highly-subject-to-change test.

pgsql: Hack one ssl test case to pass with current LibreSSL.

2025-05-09 Thread Tom Lane
Hack one ssl test case to pass with current LibreSSL. With LibreSSL, our test of error logging for cert chain depths > 0 reports the wrong certificate. This is almost certainly their bug not ours, so just tweak the test to accept their answer. No back-patch needed, since this test case wasn't en

pgsql: doc PG 18 relnotes: mv. hash joins and GROUP BY item to General

2025-05-09 Thread Bruce Momjian
doc PG 18 relnotes: mv. hash joins and GROUP BY item to General Reported-by: David Rowley Discussion: https://postgr.es/m/CAApHDvqJz+Zf7a6abisqoTGottDSRD+YPx=aqsgcsckd476...@mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/99ddf8615c215bb81655574b9a

pgsql: injection_points: Add support and tests for runtime arguments

2025-05-09 Thread Michael Paquier
injection_points: Add support and tests for runtime arguments This commit provides some test coverage for the runtime arguments of injection points, for both INJECTION_POINT_CACHED() and INJECTION_POINT(), as extended in 371f2db8b05e. The SQL functions injection_points_cached() and injection_poin

pgsql: aio: Use runtime arguments with injections points in tests

2025-05-09 Thread Michael Paquier
aio: Use runtime arguments with injections points in tests This cleans up the code related to the testing infrastructure of AIO that used injection points, switching the test code to use the new facility for injection points added by 371f2db8b05e rather than tweaks to pass and reset arguments to t

pgsql: doc: Put new options in consistent order on man pages

2025-05-09 Thread Peter Eisentraut
doc: Put new options in consistent order on man pages Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/bc35adee8d7ad38e7bef40052f196be55decddec Modified Files -- doc/src/sgml/ref/pg_combinebackup.sgml | 58 +++ doc/src/sgml/ref/pg_resetwal.sgml |