pgsql: Update list of acknowledgments in release notes

2023-09-05 Thread Peter Eisentraut
Update list of acknowledgments in release notes current through 57a011b666 Branch -- REL_16_STABLE Details --- https://git.postgresql.org/pg/commitdiff/ae7e3ae8c6ee1a877ef5940cafdb4a051d80feca Modified Files -- doc/src/sgml/release-16.sgml | 1 + 1 file changed, 1 insertion(+

pgsql: Remove column for wait event names in wait_event_names.txt

2023-09-05 Thread Michael Paquier
Remove column for wait event names in wait_event_names.txt This file is now made of two columns, removing the column listing the user-visible strings used in the system views and the documentation: - Enum definitions for each class without the prefix "WAIT_EVENT_", so as this information can be gr

pgsql: Use more consistent names for wait event objects and types

2023-09-05 Thread Michael Paquier
Use more consistent names for wait event objects and types The event names use the same case-insensitive characters, hence applying lower() or upper() to the monitoring queries allows the detection of the same events as before this change. It is possible to cross-check the data with the system vi

pgsql: Move PG_TEMP_FILE* macros to file_utils.h.

2023-09-05 Thread Nathan Bossart
Move PG_TEMP_FILE* macros to file_utils.h. Presently, frontend code that needs to use these macros must either include storage/fd.h, which declares several frontend-unsafe functions, or duplicate the macros. This commit moves these macros to common/file_utils.h, which is safe for both frontend an

pgsql: Replace known_assigned_xids_lck with memory barriers.

2023-09-05 Thread Nathan Bossart
Replace known_assigned_xids_lck with memory barriers. This lock was introduced before memory barrier support was added, and it is only used to guarantee proper memory ordering when KnownAssignedXidsAdd() appends to the array without a lock. Now that such memory barrier support exists, we can remo

pgsql: doc: mention libpq regression tests

2023-09-05 Thread Bruce Momjian
doc: mention libpq regression tests Reported-by: Ryo Matsumura Discussion: https://postgr.es/m/tycpr01mb11316b3fb56ee54d70bf0cef6e8...@tycpr01mb11316.jpnprd01.prod.outlook.com Backpatch-through: 11 Branch -- REL_13_STABLE Details --- https://git.postgresql.org/pg/commitdiff/77644adc30

pgsql: doc: mention libpq regression tests

2023-09-05 Thread Bruce Momjian
doc: mention libpq regression tests Reported-by: Ryo Matsumura Discussion: https://postgr.es/m/tycpr01mb11316b3fb56ee54d70bf0cef6e8...@tycpr01mb11316.jpnprd01.prod.outlook.com Backpatch-through: 11 Branch -- REL_16_STABLE Details --- https://git.postgresql.org/pg/commitdiff/57a011b666

pgsql: doc: mention libpq regression tests

2023-09-05 Thread Bruce Momjian
doc: mention libpq regression tests Reported-by: Ryo Matsumura Discussion: https://postgr.es/m/tycpr01mb11316b3fb56ee54d70bf0cef6e8...@tycpr01mb11316.jpnprd01.prod.outlook.com Backpatch-through: 11 Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a899d07b24a6e5197

pgsql: doc: mention libpq regression tests

2023-09-05 Thread Bruce Momjian
doc: mention libpq regression tests Reported-by: Ryo Matsumura Discussion: https://postgr.es/m/tycpr01mb11316b3fb56ee54d70bf0cef6e8...@tycpr01mb11316.jpnprd01.prod.outlook.com Backpatch-through: 11 Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/7a7526ab54

pgsql: doc: mention libpq regression tests

2023-09-05 Thread Bruce Momjian
doc: mention libpq regression tests Reported-by: Ryo Matsumura Discussion: https://postgr.es/m/tycpr01mb11316b3fb56ee54d70bf0cef6e8...@tycpr01mb11316.jpnprd01.prod.outlook.com Backpatch-through: 11 Branch -- REL_15_STABLE Details --- https://git.postgresql.org/pg/commitdiff/de35fb89cd

pgsql: doc: mention libpq regression tests

2023-09-05 Thread Bruce Momjian
doc: mention libpq regression tests Reported-by: Ryo Matsumura Discussion: https://postgr.es/m/tycpr01mb11316b3fb56ee54d70bf0cef6e8...@tycpr01mb11316.jpnprd01.prod.outlook.com Backpatch-through: 11 Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitdiff/caeb4cf191

pgsql: doc: mention libpq regression tests

2023-09-05 Thread Bruce Momjian
doc: mention libpq regression tests Reported-by: Ryo Matsumura Discussion: https://postgr.es/m/tycpr01mb11316b3fb56ee54d70bf0cef6e8...@tycpr01mb11316.jpnprd01.prod.outlook.com Backpatch-through: 11 Branch -- REL_14_STABLE Details --- https://git.postgresql.org/pg/commitdiff/d46d69a359

pgsql: Unify gratuitously different error messages

2023-09-05 Thread Peter Eisentraut
Unify gratuitously different error messages Fixup for commit 37188cea0c. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/f234b8cd16a4ba6e12cc51a36c8e499661d535bb Modified Files -- src/bin/pg_dump/pg_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

pgsql: Unify gratuitously different error messages

2023-09-05 Thread Peter Eisentraut
Unify gratuitously different error messages Fixup for commit 37188cea0c. Branch -- REL_15_STABLE Details --- https://git.postgresql.org/pg/commitdiff/3a788447d85e2643f70a8d50f16a526328bfc092 Modified Files -- src/bin/pg_dump/pg_dump.c | 2 +- 1 file changed, 1 insertion(+), 1

pgsql: Unify gratuitously different error messages

2023-09-05 Thread Peter Eisentraut
Unify gratuitously different error messages Fixup for commit 37188cea0c. Branch -- REL_16_STABLE Details --- https://git.postgresql.org/pg/commitdiff/9ddecd40664f7523b18f760aea0e04936e8a2302 Modified Files -- src/bin/pg_dump/pg_dump.c | 2 +- 1 file changed, 1 insertion(+), 1

pgsql: Remove the "snapshot too old" feature.

2023-09-05 Thread Thomas Munro
Remove the "snapshot too old" feature. Remove the old_snapshot_threshold setting and mechanism for producing the error "snapshot too old", originally added by commit 848ef42b. Unfortunately it had a number of known problems in terms of correctness and performance, mostly reported by Andres in the