pgsql: Fix comment in 024_add_drop_pub.pl

2024-05-23 Thread Michael Paquier
Fix comment in 024_add_drop_pub.pl A comment of the test was referring to an incorrect table. Thinko in 1046a69b3087. Extracted from a larger patch by the same author. Author: Alexander Lakhin Discussion: https://postgr.es/m/[email protected] Branch -- master

pgsql: Improve stability of subscription/029_on_error.pl

2024-05-23 Thread Michael Paquier
Improve stability of subscription/029_on_error.pl This test was failing when using wal_debug=on and -DWAL_DEBUG because of additional log entries that made the test grab an LSN not mapping with the error expected in the test. Previously the test would look for the first matching line to get the L

pgsql: Improve stability of subscription/029_on_error.pl

2024-05-23 Thread Michael Paquier
Improve stability of subscription/029_on_error.pl This test was failing when using wal_debug=on and -DWAL_DEBUG because of additional log entries that made the test grab an LSN not mapping with the error expected in the test. Previously the test would look for the first matching line to get the L

pgsql: Improve stability of subscription/029_on_error.pl

2024-05-23 Thread Michael Paquier
Improve stability of subscription/029_on_error.pl This test was failing when using wal_debug=on and -DWAL_DEBUG because of additional log entries that made the test grab an LSN not mapping with the error expected in the test. Previously the test would look for the first matching line to get the L

pgsql: Remove race conditions between ECPGdebug() and ecpg_log().

2024-05-23 Thread Tom Lane
Remove race conditions between ECPGdebug() and ecpg_log(). Coverity complains that ECPGdebug is accessing debugstream without holding debug_mutex, which is a fair complaint: we should take debug_mutex while changing the settings ecpg_log looks at. In some branches it also complains about unlocked

pgsql: Remove race conditions between ECPGdebug() and ecpg_log().

2024-05-23 Thread Tom Lane
Remove race conditions between ECPGdebug() and ecpg_log(). Coverity complains that ECPGdebug is accessing debugstream without holding debug_mutex, which is a fair complaint: we should take debug_mutex while changing the settings ecpg_log looks at. In some branches it also complains about unlocked

pgsql: Remove race conditions between ECPGdebug() and ecpg_log().

2024-05-23 Thread Tom Lane
Remove race conditions between ECPGdebug() and ecpg_log(). Coverity complains that ECPGdebug is accessing debugstream without holding debug_mutex, which is a fair complaint: we should take debug_mutex while changing the settings ecpg_log looks at. In some branches it also complains about unlocked

pgsql: Remove race conditions between ECPGdebug() and ecpg_log().

2024-05-23 Thread Tom Lane
Remove race conditions between ECPGdebug() and ecpg_log(). Coverity complains that ECPGdebug is accessing debugstream without holding debug_mutex, which is a fair complaint: we should take debug_mutex while changing the settings ecpg_log looks at. In some branches it also complains about unlocked

pgsql: Remove race conditions between ECPGdebug() and ecpg_log().

2024-05-23 Thread Tom Lane
Remove race conditions between ECPGdebug() and ecpg_log(). Coverity complains that ECPGdebug is accessing debugstream without holding debug_mutex, which is a fair complaint: we should take debug_mutex while changing the settings ecpg_log looks at. In some branches it also complains about unlocked

pgsql: Remove race conditions between ECPGdebug() and ecpg_log().

2024-05-23 Thread Tom Lane
Remove race conditions between ECPGdebug() and ecpg_log(). Coverity complains that ECPGdebug is accessing debugstream without holding debug_mutex, which is a fair complaint: we should take debug_mutex while changing the settings ecpg_log looks at. In some branches it also complains about unlocked

pgsql: jsonapi: Some message style fixes

2024-05-23 Thread Peter Eisentraut
jsonapi: Some message style fixes Add missing punctuation, and un-gettext-mark an internal error. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/da32f5c4bca7f3447b869de2afbbfa0b74443d45 Modified Files -- src/common/jsonapi.c | 8 1 file changed