pgsql: doc: fix typo in create role manual.

2024-06-16 Thread Tatsuo Ishii
doc: fix typo in create role manual. There was a small mistake in the create role manual. Author: Satoru Koizumi Reviewed-by: David G. Johnston Discussion: https://postgr.es/m/flat/20240616.112523.1208348667552014162.t-ishii%40sranhm.sra.co.jp Backpatch-through: 16 Branch -- master Details

pgsql: doc: fix typo in create role manual.

2024-06-16 Thread Tatsuo Ishii
doc: fix typo in create role manual. There was a small mistake in the create role manual. Author: Satoru Koizumi Reviewed-by: David G. Johnston Discussion: https://postgr.es/m/flat/20240616.112523.1208348667552014162.t-ishii%40sranhm.sra.co.jp Backpatch-through: 16 Branch -- REL_16_STABLE

pgsql: Convert confusing macros in multixact.c to static inline functio

2024-06-16 Thread Heikki Linnakangas
Convert confusing macros in multixact.c to static inline functions The macros were confused about the argument data types. All the arguments were called 'xid', and some of the macros included casts to TransactionId, even though the arguments were actually either MultiXactIds or MultiXactOffsets. I

pgsql: Add Windows file version information to test_json_parser program

2024-06-16 Thread Noah Misch
Add Windows file version information to test_json_parser programs. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/645bda2a7155fff57cc3da2ab923202187c72957 Modified Files -- src/test/modules/test_json_parser/Makefile | 6 +++--- 1 file changed, 3 insertio

pgsql: Remove use of %z in sscanf.

2024-06-16 Thread Noah Misch
Remove use of %z in sscanf. As in 9d7ded0f4277f5c0063eca8e871a34e2355a8371, it causes warnings on some MinGW compilers. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/8866ed9560576de9dec628d5bfdb1571ec8d8ef0 Modified Files -- src/test/modules/test_json

pgsql: doc: Mention modules/injection_points as example for injection p

2024-06-16 Thread Michael Paquier
doc: Mention modules/injection_points as example for injection points This should have been added in 49cd2b93d7db, that introduced the module. Reported-by: Jian He Discussion: https://postgr.es/m/cacjufxf+vfj2oz2kbr5v1bjhezxvs63clogm70v9uto1rqi...@mail.gmail.com Branch -- master Details --

pgsql: Make regress function make_tuple_indirect() able to handle plain

2024-06-16 Thread Michael Paquier
Make regress function make_tuple_indirect() able to handle plain attributes The function has been introduced in 368202501539 to test at a low level the new kinds of external toast datums, and would fail on OOM when dealing with a plain storage attribute. The existing tests of indirect_toast do no