pgsql: Fix back-patching of memset_s() fixes.

2025-05-20 Thread Tom Lane
Fix back-patching of memset_s() fixes. I missed updating msvc/Solution.pm in one branch in 12eee85e5 et al. Per buildfarm. Branch -- REL_16_STABLE Details --- https://git.postgresql.org/pg/commitdiff/4b53cb493fa3cb7a6c2e32d3d014b754ae548c2e Modified Files -- src/tools/msvc/S

pgsql: Fix regression with location calculation of nested statements

2025-05-20 Thread Michael Paquier
Fix regression with location calculation of nested statements The statement location calculated for some nested query cases was wrong when multiple queries are sent as a single string, these being separated by semicolons. As pointed by Sami Imseih, the location calculation was incorrect when the

pgsql: pg_dump: Fix array literals in fetchAttributeStats().

2025-05-20 Thread Nathan Bossart
pg_dump: Fix array literals in fetchAttributeStats(). Presently, fetchAttributeStats() builds array literals by treating the elements as SQL identifiers. This is incorrect for a couple of reasons: * Array literal content must match the external text representation of the array, i.e., what arra

pgsql: Fix incorrect WAL description for PREPARE TRANSACTION record.

2025-05-20 Thread Fujii Masao
Fix incorrect WAL description for PREPARE TRANSACTION record. Since commit 8b1dccd37c7, the PREPARE TRANSACTION WAL record includes information about dropped statistics entries. However, the WAL resource manager description function for PREPARE TRANSACTION record failed to parse this information c

pgsql: Fix incorrect WAL description for PREPARE TRANSACTION record.

2025-05-20 Thread Fujii Masao
Fix incorrect WAL description for PREPARE TRANSACTION record. Since commit 8b1dccd37c7, the PREPARE TRANSACTION WAL record includes information about dropped statistics entries. However, the WAL resource manager description function for PREPARE TRANSACTION record failed to parse this information c

pgsql: Fix incorrect WAL description for PREPARE TRANSACTION record.

2025-05-20 Thread Fujii Masao
Fix incorrect WAL description for PREPARE TRANSACTION record. Since commit 8b1dccd37c7, the PREPARE TRANSACTION WAL record includes information about dropped statistics entries. However, the WAL resource manager description function for PREPARE TRANSACTION record failed to parse this information c

pgsql: Fix incorrect WAL description for PREPARE TRANSACTION record.

2025-05-20 Thread Fujii Masao
Fix incorrect WAL description for PREPARE TRANSACTION record. Since commit 8b1dccd37c7, the PREPARE TRANSACTION WAL record includes information about dropped statistics entries. However, the WAL resource manager description function for PREPARE TRANSACTION record failed to parse this information c

pgsql: Fix cross-version upgrade test failure

2025-05-20 Thread Heikki Linnakangas
Fix cross-version upgrade test failure Commit 29f7ce6fe7 added another view that needs adjustment in the cross-version upgrade test. This should fix the XversionUpgrade failures in the buildfarm. Backpatch-through: 16 Discussion: https://www.postgresql.org/message-id/18929-077d6b7093b17...@postg

pgsql: Fix cross-version upgrade test failure

2025-05-20 Thread Heikki Linnakangas
Fix cross-version upgrade test failure Commit 29f7ce6fe7 added another view that needs adjustment in the cross-version upgrade test. This should fix the XversionUpgrade failures in the buildfarm. Backpatch-through: 16 Discussion: https://www.postgresql.org/message-id/18929-077d6b7093b17...@postg

pgsql: Fix cross-version upgrade test failure

2025-05-20 Thread Heikki Linnakangas
Fix cross-version upgrade test failure Commit 29f7ce6fe7 added another view that needs adjustment in the cross-version upgrade test. This should fix the XversionUpgrade failures in the buildfarm. Backpatch-through: 16 Discussion: https://www.postgresql.org/message-id/18929-077d6b7093b17...@postg

pgsql: Adjust operation names of pg_aios to match the documentation

2025-05-20 Thread Michael Paquier
Adjust operation names of pg_aios to match the documentation pg_aios used the terms "read" and "write" for vectored I/O read and write operations, respectively. The documentation refers to them as "readv" and "writev", and the code uses internally the terms PGAIO_OP_READV and PGAIO_OP_WRITEV for