Обсуждение: pgsql: pgbench: Clarify documentation for \gset and \aset.

Поиск
Список
Период
Сортировка

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

От
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 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(-)