pgsql: Fix some trailing whitespace in documentation files

2022-04-16 Thread Peter Eisentraut
Fix some trailing whitespace in documentation files Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/5a892c9b154f513a42c4a42cdfdae524ce33c86a Modified Files -- doc/src/sgml/adminpack.sgml | 2 +- doc/src/sgml/custom-rmgr.sgml | 4 ++-- doc/s

pgsql: Build libpq test programs under MSVC

2022-04-16 Thread Andrew Dunstan
Build libpq test programs under MSVC This allows the newly added TAP tests to run. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a17fd67d2f2861ae0ce00d1aeefdf2facc47cd5e Modified Files -- src/tools/msvc/Mkvcbuild.pm | 16 1 file change

pgsql: Fix incorrect logic in HaveRegisteredOrActiveSnapshot().

2022-04-16 Thread Tom Lane
Fix incorrect logic in HaveRegisteredOrActiveSnapshot(). This function gave the wrong answer when there's more than one RegisteredSnapshots entry, whether or not any of them is the CatalogSnapshot. This leads to assertion failure in some scenarios involving fetching toasted data using a cursor.

Re: pgsql: Fix some trailing whitespace in documentation files

2022-04-16 Thread Tom Lane
Peter Eisentraut writes: > Fix some trailing whitespace in documentation files Hmm ... by my count there are still 245 lines with trailing spaces in the *.sgml files. (Most but not all are from copied-n-pasted psql output.) I'm not quite sure what's the point of retail fixes. I could get behin

pgsql: pgstat: Use correct lock level in pgstat_drop_all_entries().

2022-04-16 Thread Andres Freund
pgstat: Use correct lock level in pgstat_drop_all_entries(). Previously we didn't, which lead to an assertion failure when resetting partially loaded statistics. This was encountered on the buildfarm, for as-of-yet unknown reasons. Ttighten up a validity check when reading the stats file, verifyi

pgsql: Don't retry restore_command while reading ahead.

2022-04-16 Thread Thomas Munro
Don't retry restore_command while reading ahead. Suppress further attempts to read ahead in the WAL if we run out of data, until the records already decoded have been replayed. This restores the traditional behavior for continuous archive recovery, which is to retry the failing restore_command on

pgsql: Add a temp-install prerequisite to src/interfaces/ecpg "checktcp

2022-04-16 Thread Noah Misch
Add a temp-install prerequisite to src/interfaces/ecpg "checktcp". The target failed, tested $PATH binaries, or tested a stale temporary installation. Commit c66b438db62748000700c9b90b585e756dd54141 missed this. Back-patch to v10 (all supported versions). Branch -- REL_14_STABLE Details --

pgsql: Add a temp-install prerequisite to src/interfaces/ecpg "checktcp

2022-04-16 Thread Noah Misch
Add a temp-install prerequisite to src/interfaces/ecpg "checktcp". The target failed, tested $PATH binaries, or tested a stale temporary installation. Commit c66b438db62748000700c9b90b585e756dd54141 missed this. Back-patch to v10 (all supported versions). Branch -- REL_11_STABLE Details --

pgsql: Add a temp-install prerequisite to src/interfaces/ecpg "checktcp

2022-04-16 Thread Noah Misch
Add a temp-install prerequisite to src/interfaces/ecpg "checktcp". The target failed, tested $PATH binaries, or tested a stale temporary installation. Commit c66b438db62748000700c9b90b585e756dd54141 missed this. Back-patch to v10 (all supported versions). Branch -- REL_10_STABLE Details --

pgsql: Add a temp-install prerequisite to src/interfaces/ecpg "checktcp

2022-04-16 Thread Noah Misch
Add a temp-install prerequisite to src/interfaces/ecpg "checktcp". The target failed, tested $PATH binaries, or tested a stale temporary installation. Commit c66b438db62748000700c9b90b585e756dd54141 missed this. Back-patch to v10 (all supported versions). Branch -- REL_12_STABLE Details --

pgsql: Add a temp-install prerequisite to src/interfaces/ecpg "checktcp

2022-04-16 Thread Noah Misch
Add a temp-install prerequisite to src/interfaces/ecpg "checktcp". The target failed, tested $PATH binaries, or tested a stale temporary installation. Commit c66b438db62748000700c9b90b585e756dd54141 missed this. Back-patch to v10 (all supported versions). Branch -- REL_13_STABLE Details --

pgsql: Add a temp-install prerequisite to src/interfaces/ecpg "checktcp

2022-04-16 Thread Noah Misch
Add a temp-install prerequisite to src/interfaces/ecpg "checktcp". The target failed, tested $PATH binaries, or tested a stale temporary installation. Commit c66b438db62748000700c9b90b585e756dd54141 missed this. Back-patch to v10 (all supported versions). Branch -- master Details --- h

Re: pgsql: Track LLVM 15 changes.

2022-04-16 Thread Thomas Munro
On Wed, Feb 16, 2022 at 9:18 AM Thomas Munro wrote: > On Wed, Feb 16, 2022 at 7:34 AM Tom Lane wrote: > > Although seawasp isn't actually failing at the moment, it's emitting > > a boatload of deprecation warnings, eg > > > > In file included from llvmjit_deform.c:27: > > ../../../../src/include/