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

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pgbench: Clarify documentation for \gset and \aset.
Date: 2025-09-25 03:10:50
Message-ID: E1v1cNd-002PS1-26@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)sraoss(dot)co(dot)jp>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2025-09-25 05:07:25 pgsql: pgbench: Fix typo in documentation.
Previous Message Daniel Gustafsson 2025-09-24 19:56:57 pgsql: doc: Remove trailing whitespace in xref