From 03310dbea9746439e9f0fdedce0fa298b8c4cc76 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 20 May 2019 09:47:19 +0900 Subject: [PATCH] Fix some grammar in documentation of spgist and pgbench Discussion: https://postgr.es/m/92961161-9b49-e42f-0a72-d5d47e0ed4de@postgrespro.ru Author: Liudmila Mantrova Reviewed-by: Jonathan Katz, Tom Lane, Michael Paquier Backpatch-through: 9.4 --- doc/src/sgml/ref/pgbench.sgml | 2 +- doc/src/sgml/spgist.sgml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml index ee2501be55..ef22a484e7 100644 --- a/doc/src/sgml/ref/pgbench.sgml +++ b/doc/src/sgml/ref/pgbench.sgml @@ -443,7 +443,7 @@ pgbench options d limit - Transaction which last more than limit milliseconds + Transactions that last more than limit milliseconds are counted and reported separately, as late. diff --git a/doc/src/sgml/spgist.sgml b/doc/src/sgml/spgist.sgml index d43ef13919..7cf9d0e56d 100644 --- a/doc/src/sgml/spgist.sgml +++ b/doc/src/sgml/spgist.sgml @@ -206,7 +206,7 @@ Of the two operator classes for type point, quad_point_ops is the default. kd_point_ops - supports the same operators but uses a different index data structure which + supports the same operators but uses a different index data structure that may offer better performance in some applications. @@ -292,9 +292,9 @@ leaf_consistent additionally returns a boolean result. The methods must not modify any fields of their input structs. In all cases, the output struct is initialized to zeroes before calling the - user-defined method. Optional sixth method compress - accepts datum to be indexed as the only argument and returns value suitable - for physical storage in leaf tuple. + user-defined method. The optional sixth method compress + accepts datum to be indexed as the only argument and returns a value suitable + for physical storage in a leaf tuple. @@ -447,9 +447,9 @@ typedef struct spgChooseOut type that was to be inserted into the index. leafDatum is a value of spgConfigOut.leafType - type which is initially an result of method + type, which is initially a result of method compress applied to datum - when method compress is provided, or same value as + when method compress is provided, or the same value as datum otherwise. leafDatum can change at lower levels of the tree if the choose or picksplit @@ -868,7 +868,7 @@ typedef struct spgLeafConsistentOut Converts the data item into a format suitable for physical storage in a leaf tuple of index page. It accepts spgConfigIn.attType - value and return + value and returns spgConfigOut.leafType value. Output value should not be toasted.