diff --git a/contrib/pg_stat_statements/pg_stat_statements.c b/contrib/pg_stat_statements/pg_stat_statements.c index 65ac301b99..14cad19afb 100644 --- a/contrib/pg_stat_statements/pg_stat_statements.c +++ b/contrib/pg_stat_statements/pg_stat_statements.c @@ -4,7 +4,7 @@ * Track statement planning and execution times as well as resource * usage across a whole database cluster. * - * Execution costs are totalled for each distinct source query, and kept in + * Execution costs are totaled for each distinct source query, and kept in * a shared hashtable. (We track only as many distinct queries as will fit * in the designated amount of shared memory.) * diff --git a/doc/src/sgml/backup-manifest.sgml b/doc/src/sgml/backup-manifest.sgml index b9634f2706..6ecf9977a5 100644 --- a/doc/src/sgml/backup-manifest.sgml +++ b/doc/src/sgml/backup-manifest.sgml @@ -26,7 +26,7 @@ - Backup Manifest Toplevel Object + Backup Manifest Top-level Object The backup manifest JSON document contains the following keys. @@ -93,7 +93,7 @@ Normally, the Path key will be present. The associated string value is the path of the file relative to the root of the backup directory. Files located in a user-defined tablespace - will have paths whose first two components are pg_tblspc and the OID + will have paths whose first two components are pg_tblspc and the OID of the tablespace. If the path is not a string that is legal in UTF-8, or if the user requests that encoded paths be used for all files, then the Encoded-Path key will be present instead. This diff --git a/doc/src/sgml/extend.sgml b/doc/src/sgml/extend.sgml index c1ffb14571..890ff97b7a 100644 --- a/doc/src/sgml/extend.sgml +++ b/doc/src/sgml/extend.sgml @@ -767,7 +767,7 @@ RETURNS anycompatible AS ... false. Generally, this should not be set true for extensions that could allow access to otherwise-superuser-only abilities, such as - filesystem access. + file system access. diff --git a/doc/src/sgml/fdwhandler.sgml b/doc/src/sgml/fdwhandler.sgml index 1e997c218b..74793035d7 100644 --- a/doc/src/sgml/fdwhandler.sgml +++ b/doc/src/sgml/fdwhandler.sgml @@ -450,7 +450,7 @@ AddForeignUpdateTargets(Query *parsetree, generate junk columns of these names. If the extra expressions are more complex than simple Vars, they must be run through eval_const_expressions - before adding them to the targetlist. + before adding them to the target list. diff --git a/doc/src/sgml/glossary.sgml b/doc/src/sgml/glossary.sgml index c7c931c17e..76525c6302 100644 --- a/doc/src/sgml/glossary.sgml +++ b/doc/src/sgml/glossary.sgml @@ -432,7 +432,7 @@ Data directory - The base directory on the filesystem of a + The base directory on the file system of a server that contains all data files and subdirectories associated with a database cluster @@ -1548,7 +1548,7 @@ Tablespace - A named location on the server filesystem. + A named location on the server file system. All SQL objects which require storage beyond their definition in the system catalog @@ -1646,7 +1646,7 @@ Average number of transactions that are executed per second, - totalled across all sessions active for a measured run. + totaled across all sessions active for a measured run. This is used as a measure of the performance characteristics of an instance. diff --git a/doc/src/sgml/maintenance.sgml b/doc/src/sgml/maintenance.sgml index 612e4cb200..4acdd15d4b 100644 --- a/doc/src/sgml/maintenance.sgml +++ b/doc/src/sgml/maintenance.sgml @@ -998,7 +998,7 @@ pg_ctl start | rotatelogs /var/log/pgsql_log 86400 In this case, log messages are sent to the old log file until a successful log rotation. If logrotate is configured to compress the log file and delete it, the server may lose - the messages logged in this timeframe. To avoid this issue, you can + the messages logged in this time frame. To avoid this issue, you can configure the logging collector to dynamically assign log file names and use a prerotate script to ignore open log files. diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index dfa9d0d641..211d279094 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -2474,7 +2474,7 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i Number of transactions spilled to disk after the memory used by logical decoding exceeds logical_decoding_work_mem. The - counter gets incremented both for toplevel transactions and + counter gets incremented both for top-level transactions and subtransactions. diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index 849f7e931f..dc688c415f 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -1364,8 +1364,8 @@ WITH ( MODULUS numeric_literal, REM This only affects columns marked as either External or Extended and applies only to new tuples; there is no effect on existing rows. By default this parameter is set to allow at least 4 tuples per block, - which with the default blocksize will be 2040 bytes. Valid values are - between 128 bytes and the (blocksize - header), by default 8160 bytes. + which with the default block size will be 2040 bytes. Valid values are + between 128 bytes and the (block size - header), by default 8160 bytes. Changing this value may not be useful for very short or very long rows. Note that the default setting is often close to optimal, and it is possible that setting this parameter could have negative diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 2f0807e912..8aadaa2a12 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -788,7 +788,7 @@ PostgreSQL documentation When is specified, pg_dump does not check that the foreign - table is writeable. Therefore, there is no guarantee that the + table is writable. Therefore, there is no guarantee that the results of a foreign table dump can be successfully restored. diff --git a/doc/src/sgml/ref/pg_verifybackup.sgml b/doc/src/sgml/ref/pg_verifybackup.sgml index 44f4e67d57..c85d9136cc 100644 --- a/doc/src/sgml/ref/pg_verifybackup.sgml +++ b/doc/src/sgml/ref/pg_verifybackup.sgml @@ -93,7 +93,7 @@ PostgreSQL documentation backup_manifest contains information about which write-ahead log records will be needed, and pg_verifybackup will use that information to - invoke pg_waldump to parse those write-ahed log + invoke pg_waldump to parse those write-ahead log records. The --quiet flag will be used, so that pg_waldump will only report errors, without producing any other output. While this level of verification is sufficient to @@ -143,13 +143,13 @@ PostgreSQL documentation Ignore the specified file or directory, which should be expressed - as a relative pathname, when comparing the list of data files + as a relative path name, when comparing the list of data files actually present in the backup to those listed in the backup_manifest file. If a directory is specified, this option affects the entire subtree rooted at that location. Complaints about extra files, missing files, file size differences, or checksum mismatches will be suppressed if the - relative pathname matches the specified pathname. This option + relative path name matches the specified path name. This option can be specified multiple times. diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml index 8e728dc094..9f3bb5fce6 100644 --- a/doc/src/sgml/ref/pgbench.sgml +++ b/doc/src/sgml/ref/pgbench.sgml @@ -1886,7 +1886,7 @@ SELECT 4 AS four \; SELECT 5 AS five \aset integer - Computes a gaussian-distributed random integer in [lb, + Computes a Gaussian-distributed random integer in [lb, ub], see below.