pgsql: pgbench: Fix typo in documentation.

2025-09-24 Thread Fujii Masao
pgbench: Fix typo in documentation. This commit fixes a typo introduced in commit b6290ea48e1. Reported off-list by Erik Rijkers Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/668de0430942829cc6085ab6ee99fd8080d21f0a Modified Files -- doc/src/sgml/re

pgsql: pgbench: Clarify documentation for \gset and \aset.

2025-09-24 Thread Fujii Masao
pgbench: Clarify documentation for \gset and \aset. This commit updates the pgbench documentation to list \gset and \aset as separate terms for easier reading. It also clarifies that \gset raises an error if the query returns zero or multiple rows, and explains how to detect cases where the query

pgsql: doc: Remove trailing whitespace in xref

2025-09-24 Thread Daniel Gustafsson
doc: Remove trailing whitespace in xref Remove stray whitespace in xref tag. This was found due to a regression in xmllint 2.15.0 which flagged this as an error, and at the time of this commit no fix for xmllint has shipped. Author: Erik Wienhold Discussion: https://postgr.es/m/f4c4661b-4e60-4c

pgsql: vacuumdb: Do not run VACUUM (ONLY_DATABASE_STATS) when --analyze

2025-09-24 Thread Fujii Masao
vacuumdb: Do not run VACUUM (ONLY_DATABASE_STATS) when --analyze-only. Previously, vacuumdb --analyze-only issued VACUUM (ONLY_DATABASE_STATS) at the end. Since --analyze-only is meant to update optimizer statistics only, this extra VACUUM command is unnecessary. This commit prevents vacuumdb --a

pgsql: Ensure guc_tables.o's dependency on guc_tables.inc.c is known.

2025-09-24 Thread Tom Lane
Ensure guc_tables.o's dependency on guc_tables.inc.c is known. Without this, rebuilds can malfunction unless --enable-depend is used. Historically we've expected that you can get away without --enable-depend as long as you manually clean after changing *.h files; the makefiles are supposed to hand

pgsql: Include pg_test_timing's full output in the TAP test log.

2025-09-24 Thread Tom Lane
Include pg_test_timing's full output in the TAP test log. We were already doing a short (1-second) pg_test_timing run during check-world and buildfarm runs. But we weren't doing anything with the result except for a basic regex-based sanity check. Collecting that output from buildfarm runs is see

pgsql: Remove PointerIsValid()

2025-09-24 Thread Peter Eisentraut
Remove PointerIsValid() This doesn't provide any value over the standard style of checking the pointer directly or comparing against NULL. Also remove related: - AllocPointerIsValid() [unused] - IndexScanIsValid() [had one user] - HeapScanIsValid() [unused] - InvalidRelation [unused] Leaving Hea

pgsql: Fix incorrect option name in usage screen

2025-09-24 Thread Daniel Gustafsson
Fix incorrect option name in usage screen The usage screen incorrectly refered to the --docs option as --sgml. Backpatch down to v17 where this script was introduced. Author: Daniel Gustafsson Discussion: https://postgr.es/m/[email protected] Backpatch-