pgsql: pgbench: Clarify documentation for \gset and \aset. - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: pgbench: Clarify documentation for \gset and \aset.
Date
Msg-id E1v1cNd-002PS1-26@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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 with \aset returned no rows.

Author: Yugo Nagata <nagata@sraoss.co.jp>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/20250626180125.5b896902a3d0bcd93f86c240@sraoss.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b6290ea48e1b8e868516d95cb86a0d3565d63847

Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: doc: Remove trailing whitespace in xref
Next
From: Fujii Masao
Date:
Subject: pgsql: pgbench: Fix typo in documentation.