doc: add commas after 'i.e.' and 'e.g.'
authorBruce Momjian
Mon, 31 Aug 2020 22:33:37 +0000 (18:33 -0400)
committerBruce Momjian
Mon, 31 Aug 2020 22:33:37 +0000 (18:33 -0400)
This follows the American format,
https://jakubmarian.com/comma-after-i-e-and-e-g/. There is no intention
of requiring this format for future text, but making existing text
consistent every few years makes sense.

Discussion: https://postgr.es/m/20200825183619[email protected]

Backpatch-through: 9.5

41 files changed:
doc/src/sgml/config.sgml
doc/src/sgml/datatype.sgml
doc/src/sgml/ddl.sgml
doc/src/sgml/ecpg.sgml
doc/src/sgml/extend.sgml
doc/src/sgml/func.sgml
doc/src/sgml/high-availability.sgml
doc/src/sgml/indexam.sgml
doc/src/sgml/install-windows.sgml
doc/src/sgml/libpq.sgml
doc/src/sgml/monitoring.sgml
doc/src/sgml/mvcc.sgml
doc/src/sgml/parallel.sgml
doc/src/sgml/perform.sgml
doc/src/sgml/protocol.sgml
doc/src/sgml/queries.sgml
doc/src/sgml/recovery-config.sgml
doc/src/sgml/ref/create_database.sgml
doc/src/sgml/ref/create_event_trigger.sgml
doc/src/sgml/ref/create_function.sgml
doc/src/sgml/ref/create_statistics.sgml
doc/src/sgml/ref/grant.sgml
doc/src/sgml/ref/initdb.sgml
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dumpall.sgml
doc/src/sgml/ref/pg_restore.sgml
doc/src/sgml/ref/pg_rewind.sgml
doc/src/sgml/ref/pgbench.sgml
doc/src/sgml/ref/pgupgrade.sgml
doc/src/sgml/ref/postgres-ref.sgml
doc/src/sgml/ref/prepare.sgml
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/release-10.sgml
doc/src/sgml/replication-origins.sgml
doc/src/sgml/runtime.sgml
doc/src/sgml/sepgsql.sgml
doc/src/sgml/sources.sgml
doc/src/sgml/sslinfo.sgml
doc/src/sgml/wal.sgml
doc/src/sgml/xfunc.sgml
doc/src/sgml/xml2.sgml

index bb20e90f3769e0a036c897bc1e483fe2cf24ccab..e577bbde9901a22b63ef880d0dac4502b830dce6 100644 (file)
@@ -407,7 +407,7 @@ include_dir 'directory'
       start with the . character are also ignored, to
       prevent mistakes since such files are hidden on some platforms.  Multiple
       files within an include directory are processed in file name order
-      (according to C locale rules, i.e. numbers before letters, and
+      (according to C locale rules, i.e., numbers before letters, and
       uppercase letters before lowercase ones).
      
 
@@ -1304,7 +1304,7 @@ include_dir 'conf.d'
        
         With this parameter enabled, you can still create ordinary global
         users.  Simply append @ when specifying the user
-        name in the client, e.g. joe@.  The @
+        name in the client, e.g., joe@.  The @
         will be stripped off before the user name is looked up by the
         server.
        
@@ -2886,7 +2886,7 @@ include_dir 'conf.d'
         disabled, but the server continues to accumulate WAL segment files in
         the expectation that a command will soon be provided.  Setting
         archive_command to a command that does nothing but
-        return true, e.g. /bin/true (REM on
+        return true, e.g., /bin/true (REM on
         Windows), effectively disables
         archiving, but also breaks the chain of WAL files needed for
         archive recovery, so it should only be used in unusual circumstances.
@@ -3836,7 +3836,7 @@ ANY num_sync ( 
         if your data is likely to be completely in cache, such as when
         the database is smaller than the total server memory, decreasing
         random_page_cost can be appropriate.  Storage that has a low random
-        read cost relative to sequential, e.g. solid-state drives, might
+        read cost relative to sequential, e.g., solid-state drives, might
         also be better modeled with a lower value for random_page_cost,
         e.g., 1.1.
        
@@ -7384,7 +7384,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
         rows that can be locked; that value is unlimited.  The default,
         64, has historically proven sufficient, but you might need to
         raise this value if you have queries that touch many different
-        tables in a single transaction, e.g. query of a parent table with
+        tables in a single transaction, e.g., query of a parent table with
         many children.  This parameter can only be set at server start.
        
 
@@ -7895,7 +7895,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
         with assertions enabled. That is the case if the
         macro USE_ASSERT_CHECKING is defined
         when PostgreSQL is built (accomplished
-        e.g. by the configure option
+        e.g., by the configure option
         ). By
         default PostgreSQL is built without
         assertions.
index 5feb57b22863d43cfcda5353deae65909c7d62d6..a843f70223f0929c745a8b640500db90bc53c8af 100644 (file)
      very large number of digits. It is especially recommended for
      storing monetary amounts and other quantities where exactness is
      required.  Calculations with numeric values yield exact
-     results where possible, e.g.  addition, subtraction, multiplication.
+     results where possible, e.g.,  addition, subtraction, multiplication.
      However, calculations on numeric values are very slow
      compared to the integer types, or to the floating-point types
      described in the next section.
@@ -4870,7 +4870,7 @@ SELECT * FROM pg_attribute
 
        
         unknown
-        Identifies a not-yet-resolved type, e.g. of an undecorated
+        Identifies a not-yet-resolved type, e.g., of an undecorated
          string literal.
        
 
index 67cffa66b700174c44a6edb3dc49692f6775d586..70f90784298d453b46b81ce77cc750536e0a3bb5 100644 (file)
@@ -1511,7 +1511,7 @@ ALTER TABLE products RENAME TO items;
 
   
    An object can be assigned to a new owner with an ALTER
-   command of the appropriate kind for the object, e.g. 
+   command of the appropriate kind for the object, e.g., 
    linkend="sql-altertable">.  Superusers can always do
    this; ordinary roles can only do it if they are both the current owner
    of the object (or a member of the owning role) and a member of the new
index a11ad8f06c5cd3799a714b8b5217b68d0b7184c0..6c5f8995055806197da877d11b2fc99613f118a5 100644 (file)
@@ -3659,7 +3659,7 @@ EXEC SQL DEALLOCATE DESCRIPTOR identifier;
 EXEC SQL FETCH NEXT FROM mycursor INTO SQL DESCRIPTOR mydesc;
 
     If the result set is empty, the Descriptor Area will still contain
-    the metadata from the query, i.e. the field names.
+    the metadata from the query, i.e., the field names.
    
 
    
@@ -4076,7 +4076,7 @@ typedef struct sqlvar_struct sqlvar_t;
          sqllen
           
            
-            Contains the binary length of the field. e.g. 4 bytes for ECPGt_int.
+            Contains the binary length of the field. e.g., 4 bytes for ECPGt_int.
            
           
          
@@ -8003,7 +8003,7 @@ EXEC SQL CLOSE DATABASE;
       FREE cursor_name
       
        
-        Due to the differences how ECPG works compared to Informix's ESQL/C (i.e. which steps
+        Due to the differences how ECPG works compared to Informix's ESQL/C (i.e., which steps
         are purely grammar transformations and which steps rely on the underlying run-time library)
         there is no FREE cursor_name statement in ECPG. This is because in ECPG,
         DECLARE CURSOR doesn't translate to a function call into
index 501f9e1391c3b8ebde8bbcfa0b09dbcd8542661a..d02e2f8bb3729b92415ac23a7019cfbe2d3a5d1d 100644 (file)
        
         An extension is relocatable if it is possible to move
         its contained objects into a different schema after initial creation
-        of the extension.  The default is false, i.e. the
+        of the extension.  The default is false, i.e., the
         extension is not relocatable.
         See  for more information.
        
@@ -1363,7 +1363,7 @@ include $(PGXS)
       NO_INSTALLCHECK
       
        
-        don't define an installcheck target, useful e.g. if tests require special configuration, or don't use pg_regress
+        don't define an installcheck target, useful e.g., if tests require special configuration, or don't use pg_regress
        
       
      
index 670ed7955128d1fd5ad07e19c2541d4926dec6d2..1fa9cff5f7b3f3a9abad3b97be0890ca71d88613 100644 (file)
@@ -6211,7 +6211,7 @@ SELECT regexp_match('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
        will be replaced by the year data, but the single Y in Year
        will not be.  In to_date, to_number,
        and to_timestamp, double-quoted strings skip the number of
-       input characters contained in the string, e.g. "XX"
+       input characters contained in the string, e.g., "XX"
        skips two input characters.
       
      
@@ -6227,9 +6227,9 @@ SELECT regexp_match('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
      
       
        In to_timestamp and to_date,
-       if the year format specification is less than four digits, e.g.
+       if the year format specification is less than four digits, e.g.,
        YYY, and the supplied year is less than four digits,
-       the year will be adjusted to be nearest to the year 2020, e.g.
+       the year will be adjusted to be nearest to the year 2020, e.g.,
        95 becomes 1995.
       
      
@@ -20607,7 +20607,7 @@ FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger();
        
         objsubid
         integer
-        Sub-object ID (e.g. attribute number for a column)
+        Sub-object ID (e.g., attribute number for a column)
        
        
         command_tag
@@ -20694,7 +20694,7 @@ FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger();
        
         objsubid
         integer
-        Sub-object ID (e.g. attribute number for a column)
+        Sub-object ID (e.g., attribute number for a column)
        
        
         original
index 63986343436eef9db162f696bf18a499c17fe9be..1f3d1ea0139ae3948f1428e319ae53853c4ef3ee 100644 (file)
@@ -219,7 +219,7 @@ protocol to make nodes agree on a serializable transactional order.
      this is unacceptable, either the middleware or the application
      must query such values from a single server and then use those
      values in write queries.  Another option is to use this replication
-     option with a traditional master-standby setup, i.e. data modification
+     option with a traditional master-standby setup, i.e., data modification
      queries are sent only to the master and are propagated to the
      standby servers via master-standby replication, not by the replication
      middleware.  Care must also be taken that all
@@ -657,7 +657,7 @@ protocol to make nodes agree on a serializable transactional order.
     Set up continuous archiving on the primary to an archive directory
     accessible from the standby, as described
     in . The archive location should be
-    accessible from the standby even when the master is down, i.e. it should
+    accessible from the standby even when the master is down, i.e., it should
     reside on the standby server itself or another trusted server, not on
     the master server.
    
@@ -2213,7 +2213,7 @@ LOG:  database system is ready to accept read only connections
       
        
         
-         Data Definition Language (DDL) - e.g. CREATE INDEX
+         Data Definition Language (DDL) - e.g., CREATE INDEX
         
        
        
@@ -2279,7 +2279,7 @@ LOG:  database system is ready to accept read only connections
 
    
     WAL file control commands will not work during recovery,
-    e.g. pg_start_backup, pg_switch_wal etc.
+    e.g., pg_start_backup, pg_switch_wal etc.
    
 
    
index d7a2ebfb67de56e0346cb77b211752222bb48110..cffa23660e8234b5c6026c7937ddbcbb32cdab81 100644 (file)
@@ -368,7 +368,7 @@ amcanreturn (Relation indexRelation, int attno);
    linkend="indexes-index-only-scans">index-only scans on
    the given column, by returning the indexed column values for an index entry
    in the form of an IndexTuple.  The attribute number
-   is 1-based, i.e. the first column's attno is 1. Returns TRUE if supported,
+   is 1-based, i.e., the first column's attno is 1. Returns TRUE if supported,
    else FALSE.  If the access method does not support index-only scans at all,
    the amcanreturn field in its IndexAmRoutine
    struct can be set to NULL.
index fbe69cac721fd54a32ebe142cf64a5f27f7f955f..31b6116cbbb182755b62d713fb8dfc17c1b007bd 100644 (file)
   In the Microsoft Windows SDK, start the
   CMD shell listed under the SDK on the Start Menu.
   In recent SDK versions you can change the targeted CPU architecture, build
-  type, and target OS by using the setenv command, e.g.
+  type, and target OS by using the setenv command, e.g.,
   setenv /x86 /release /xp to target Windows XP or later
   with a 32-bit release build. See /? for other options to
   setenv.  All commands should be run from the
@@ -241,7 +241,7 @@ $ENV{MSBFLAGS}="/m";
         installations C:\Program Files\GnuWin32.
         Consider installing into C:\GnuWin32 or use the
         NTFS short name path to GnuWin32 in your PATH environment setting
-        (e.g. C:\PROGRA~1\GnuWin32).
+        (e.g., C:\PROGRA~1\GnuWin32).
        
      
 
index ecb48ed37c4860f7ee5a67d964e1653bdd335e6f..9903cdef640265713cb8d80ef719d3d301be0032 100644 (file)
@@ -355,7 +355,7 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);
        Conversely, if PQconnectPoll(conn) last returned
        PGRES_POLLING_WRITING, wait until the socket is ready
        to write, then call PQconnectPoll(conn) again.
-       On the first iteration, i.e. if you have yet to call
+       On the first iteration, i.e., if you have yet to call
        PQconnectPoll, behave as if it last returned
        PGRES_POLLING_WRITING.  Continue this loop until
        PQconnectPoll(conn) returns
@@ -860,7 +860,7 @@ postgresql:///mydb?host=localhost&port=5433
 
    
     Percent-encoding may be used to include symbols with special meaning in any
-    of the URI parts, e.g. replace = with
+    of the URI parts, e.g., replace = with
     %3D.
 
    
@@ -919,7 +919,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
        hostaddr, and port options accept a comma-separated
        list of values. The same number of elements must be given in each
        option that is specified, such
-       that e.g. the first hostaddr corresponds to the first host name,
+       that e.g., the first hostaddr corresponds to the first host name,
        the second hostaddr corresponds to the second host name, and so
        forth. As an exception, if only one port is specified, it
        applies to all the hosts.
@@ -947,7 +947,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
      
        If a password file is used, you can have different passwords for
        different hosts. All the other connection options are the same for every
-       host in the list; it is not possible to e.g. specify different
+       host in the list; it is not possible to e.g., specify different
        usernames for different hosts.
      
    
@@ -1123,7 +1123,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
       
       
        Maximum wait for connection, in seconds (write as a decimal integer,
-       e.g. 10).  Zero, negative, or not specified means
+       e.g., 10).  Zero, negative, or not specified means
        wait indefinitely.  The minimum allowed timeout is 2 seconds, therefore
        a value of 1 is interpreted as 2.
        This timeout applies separately to each host name or IP address.
@@ -2164,7 +2164,7 @@ const char *PQsslAttribute(const PGconn *conn, const char *attribute_name);
          cipher
           
            
-            A short name of the ciphersuite used, e.g.
+            A short name of the ciphersuite used, e.g.,
             "DHE-RSA-DES-CBC3-SHA". The names are specific
             to each SSL implementation.
            
@@ -4811,7 +4811,7 @@ int PQflush(PGconn *conn);
    PQflush again.  Repeat until
    PQflush returns 0.  (It is necessary to check for
    read-ready and drain the input with PQconsumeInput,
-   because the server can block trying to send us data, e.g. NOTICE
+   because the server can block trying to send us data, e.g., NOTICE
    messages, and won't read our data until we read its.)  Once
    PQflush returns 0, wait for the socket to be
    read-ready and then read the response as described above.
@@ -7820,7 +7820,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
    For a connection to be known secure, SSL usage must be configured
    on both the client and the server before the connection
    is made. If it is only configured on the server, the client may end up
-   sending sensitive information (e.g. passwords) before
+   sending sensitive information (e.g., passwords) before
    it knows that the server requires high security. In libpq, secure
    connections can be ensured
    by setting the sslmode parameter to verify-full or
index 1cec700250064aa89dc229d6968541a557f8fc4d..1e94f99be0c6f604e4e5209f8980638771c250dd 100644 (file)
@@ -206,7 +206,7 @@ postgres   27093  0.0  0.0  30096  2752 ?        Ss   11:34   0:00 postgres: ser
    When the server shuts down cleanly, a permanent copy of the statistics
    data is stored in the pg_stat subdirectory, so that
    statistics can be retained across server restarts.  When recovery is
-   performed at server start (e.g. after immediate shutdown, server crash,
+   performed at server start (e.g., after immediate shutdown, server crash,
    and point-in-time recovery), all statistics counters are reset.
   
 
index e942c702d10c3e2f26bd9ef0021b06f901ae906c..abd37900c236d34b25718afb5997d076d95c7a1c 100644 (file)
    
     In PostgreSQL, you can request any of
     the four standard transaction isolation levels, but internally only
-    three distinct isolation levels are implemented, i.e. PostgreSQL's
+    three distinct isolation levels are implemented, i.e., PostgreSQL's
     Read Uncommitted mode behaves like Read Committed.  This is because
     it is the only sensible way to map the standard isolation levels to
     PostgreSQL's multiversion concurrency control architecture.
index d628130026585acb2d32feaa26519741553fec44..18378c057d7c4db36a8a875c731fe06d53bb6406 100644 (file)
@@ -401,7 +401,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
     .  Of course, this plan may turn
     out to be slower than the serial plan which the planner preferred, but
     this will not always be the case.  If you don't get a parallel
-    plan even with very small values of these settings (e.g. after setting
+    plan even with very small values of these settings (e.g., after setting
     them both to zero), there may be some reason why the query planner is
     unable to generate a parallel plan for your query.  See
      and
@@ -493,7 +493,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
   
     Functions and aggregates must be marked PARALLEL UNSAFE if
     they write to the database, access sequences, change the transaction state
-    even temporarily (e.g. a PL/pgSQL function which establishes an
+    even temporarily (e.g., a PL/pgSQL function which establishes an
     EXCEPTION block to catch errors), or make persistent changes to
     settings.  Similarly, functions must be marked PARALLEL
     RESTRICTED if they access temporary tables, client connection state,
index 4dd3e35d0e5bf0ca72199c69c0d939576e443c8d..16681985e7c48b90b55f76ea9767c889a5fd9d35 100644 (file)
@@ -1808,7 +1808,7 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
      
       
        Place the database cluster's data directory in a memory-backed
-       file system (i.e. RAM disk).  This eliminates all
+       file system (i.e., RAM disk).  This eliminates all
        database disk I/O, but limits data storage to the amount of
        available memory (and perhaps swap).
       
index 0ef533d24e7f370485fe3061f2b0b337c1760012..ee302fe01b62718c34400bbc52900aecfcfdea5e 100644 (file)
@@ -28,7 +28,7 @@
   the server, the connection will be rejected (for example, this would occur
   if the client requested protocol version 4.0, which does not exist as of
   this writing).  If the minor version requested by the client is not
-  supported by the server (e.g. the client requests version 3.1, but the
+  supported by the server (e.g., the client requests version 3.1, but the
   server supports only 3.0), the server may either reject the connection or
   may respond with a NegotiateProtocolVersion message containing the highest
   minor protocol version which it supports.  The client may then choose either
         by the client, but does support an earlier version of the protocol;
         this message indicates the highest supported minor version.  This
         message will also be sent if the client requested unsupported protocol
-        options (i.e. beginning with _pq_.) in the
+        options (i.e., beginning with _pq_.) in the
         startup packet.  This message will be followed by an ErrorResponse or
         a message indicating the success or failure of authentication.
        
index 0588da2912c0588d0a479490108c94ac12b36a52..7cb96a2d0e051ff7e61aa3852bc017f6efb43b40 100644 (file)
@@ -1256,7 +1256,7 @@ GROUPING SETS (
     ( )
 )
 
-    This is commonly used for analysis over hierarchical data; e.g. total
+    This is commonly used for analysis over hierarchical data; e.g., total
     salary by department, division, and company-wide total.
    
 
@@ -1265,7 +1265,7 @@ GROUPING SETS (
 
 CUBE ( e1, e2, ... )
 
-    represents the given list and all of its possible subsets (i.e. the power
+    represents the given list and all of its possible subsets (i.e., the power
     set).  Thus
 
 CUBE ( a, b, c )
index 7da9db16635355dc0b956b3f02733bb474c90d05..91c0a99ef6aea5d00d78e45deeab83605cfa16ec 100644 (file)
@@ -173,7 +173,7 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"'  # Windows
       
        
         This parameter specifies that recovery should end as soon as a
-        consistent state is reached, i.e. as early as possible. When restoring
+        consistent state is reached, i.e., as early as possible. When restoring
         from an online backup, this means the point where taking the backup
         ended.
        
index aa7cd61ad9cce4482b53600d34049fb46a9f0ca2..e8f292938b6d0397d561582e237b6988cfb993ec 100644 (file)
@@ -116,7 +116,7 @@ CREATE DATABASE name
       
        
         Collation order (LC_COLLATE) to use in the new database.
-        This affects the sort order applied to strings, e.g. in queries with
+        This affects the sort order applied to strings, e.g., in queries with
         ORDER BY, as well as the order used in indexes on text columns.
         The default is to use the collation order of the template database.
         See below for additional restrictions.
@@ -128,7 +128,7 @@ CREATE DATABASE name
       
        
         Character classification (LC_CTYPE) to use in the new
-        database. This affects the categorization of characters, e.g. lower,
+        database. This affects the categorization of characters, e.g., lower,
         upper and digit. The default is to use the character classification of
         the template database. See below for additional restrictions.
        
index be18fc36e8045157a0075206b57c3b5b530caf33..89410e8d141544506a525f073c3c680a365e57f5 100644 (file)
@@ -86,7 +86,7 @@ CREATE EVENT TRIGGER name
       A list of values for the
       associated filter_variable
       for which the trigger should fire.  For TAG, this means a
-      list of command tags (e.g. 'DROP FUNCTION').
+      list of command tags (e.g., 'DROP FUNCTION').
      
     
    
index 559d3e7894ffdd402e536d722407715eef1fdef3..8efcd162f41a7936f130e2fb20da6a82a3075b30 100644 (file)
@@ -257,7 +257,7 @@ CREATE [ OR REPLACE ] FUNCTION
        The name of the language that the function is implemented in.
        It can be sqlc,
        internal, or the name of a user-defined
-       procedural language, e.g. plpgsql.  Enclosing the
+       procedural language, e.g., plpgsql.  Enclosing the
        name in single quotes is deprecated and requires matching case.
       
      
@@ -431,11 +431,11 @@ CREATE [ OR REPLACE ] FUNCTION
       Functions should be labeled parallel unsafe if they modify any database
       state, or if they make changes to the transaction such as using
       sub-transactions, or if they access sequences or attempt to make
-      persistent changes to settings (e.g. setval).  They should
+      persistent changes to settings (e.g., setval).  They should
       be labeled as parallel restricted if they access temporary tables,
       client connection state, cursors, prepared statements, or miscellaneous
       backend-local state which the system cannot synchronize in parallel mode
-      (e.g.  setseed cannot be executed other than by the group
+      (e.g.,  setseed cannot be executed other than by the group
       leader because a change made by another process would not be reflected
       in the leader).  In general, if a function is labeled as being safe when
       it is restricted or unsafe, or if it is labeled as being restricted when
index ef4e4852bd20e14206b96d5791bc097e1ba2913f..630d338c835d721731c1fc99b6c34bc25c2719d2 100644 (file)
@@ -129,7 +129,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] statistics_na
   Examples
 
   
-   Create table t1 with two functionally dependent columns, i.e.
+   Create table t1 with two functionally dependent columns, i.e.,
    knowledge of a value in the first column is sufficient for determining the
    value in the other column. Then functional dependency statistics are built
    on those columns:
index 9be13407736bac25ace9634440ae312c422cdf05..eb8663bf5d4580d47ca2102a267e738e1f81ec8d 100644 (file)
@@ -352,7 +352,7 @@ GRANT role_name [, ...] TO 
        schema (assuming that the objects' own privilege requirements are
        also met).  Essentially this allows the grantee to look up
        objects within the schema.  Without this permission, it is still
-       possible to see the object names, e.g. by querying the system tables.
+       possible to see the object names, e.g., by querying the system tables.
        Also, after revoking this permission, existing backends might have
        statements that have previously performed this lookup, so this is not
        a completely secure way to prevent object access.
index 6efb2e442d59c954c8a80149617c896c2933d2fb..4abae56e0258152e73a4fb415ff7e72f1fbd651d 100644 (file)
@@ -80,7 +80,7 @@ PostgreSQL documentation
    initdb initializes the database cluster's default
    locale and character set encoding. The character set encoding,
    collation order (LC_COLLATE) and character set classes
-   (LC_CTYPE, e.g. upper, lower, digit) can be set separately
+   (LC_CTYPE, e.g., upper, lower, digit) can be set separately
    for a database when it is created. initdb determines
    those settings for the template1 database, which will
    serve as the default for all other databases.
index c221d2a080f573cb172bb876bda364c6c9f0ae4e..4b7631a4369026261635c72df13fa2e4caa91967 100644 (file)
@@ -750,7 +750,7 @@ PostgreSQL documentation
       
       
        
-        Use conditional commands (i.e. add an IF EXISTS
+        Use conditional commands (i.e., add an IF EXISTS
         clause) when cleaning database objects.  This option is not valid
         unless 
        
index e6fe935f8c9745e7963d10ab0461e60d0e50377e..9af2f5b9e78346044ace5d40f8a9e3b27381c7f6 100644 (file)
@@ -295,7 +295,7 @@ PostgreSQL documentation
       
       
        
-        Use conditional commands (i.e. add an IF EXISTS
+        Use conditional commands (i.e., add an IF EXISTS
         clause) to clean databases and other objects.  This option is not valid
         unless 
        
index 3b5616b622d767ef98515da3b248e074755777e3..73a34834dce68a6bde88781d1f59784ddd26ebb2 100644 (file)
@@ -555,7 +555,7 @@ PostgreSQL documentation
       
       
        
-        Use conditional commands (i.e. add an IF EXISTS
+        Use conditional commands (i.e., add an IF EXISTS
         clause) when cleaning database objects.  This option is not valid
         unless 
        
index ee093598ad18e54b8e8bb584e01a0807fa105000..05fb19184994325051986942106a1f4b0ef51e39 100644 (file)
@@ -70,7 +70,7 @@ PostgreSQL documentation
    files might no longer be present. In that case, they can be manually
    copied from the WAL archive to the pg_wal directory, or
    fetched on startup by configuring recovery.conf.  The use of
-   pg_rewind is not limited to failover, e.g.  a standby
+   pg_rewind is not limited to failover, e.g.,  a standby
    server can be promoted, run some write transactions, and then rewinded
    to become a standby again.
   
index 316adbc7dfa281b5e2ea8bd5272479a5a55b54ce..a0eeb71baca69cc5fd4dab0fdf81652c8c4ca424 100644 (file)
@@ -484,7 +484,7 @@ pgbench  options  dbname
         transaction to finish. The wait time is called the schedule lag time,
         and its average and maximum are also reported separately. The
         transaction latency with respect to the actual transaction start time,
-        i.e. the time spent executing the transaction in the database, can be
+        i.e., the time spent executing the transaction in the database, can be
         computed by subtracting the schedule lag time from the reported
         latency.
        
@@ -617,7 +617,7 @@ pgbench  options  dbname
        
         Remember to take the sampling rate into account when processing the
         log file. For example, when computing tps values, you need to multiply
-        the numbers accordingly (e.g. with 0.01 sample rate, you'll only get
+        the numbers accordingly (e.g., with 0.01 sample rate, you'll only get
         1/100 of the actual tps).
        
       
@@ -1090,7 +1090,7 @@ f(x) = PHI(2.0 * parameter * (x - mu) / (max - min + 1)) /
       2.0 / parameter, that is a relative
       1.0 / parameter around the mean; for instance, if
       parameter is 4.0, 67% of values are drawn from the
-      middle quarter (1.0 / 4.0) of the interval (i.e. from
+      middle quarter (1.0 / 4.0) of the interval (i.e., from
       3.0 / 8.0 to 5.0 / 8.0) and 95% from
       the middle half (2.0 / 4.0) of the interval (second and third
       quartiles). The minimum parameter is 2.0 for performance
@@ -1235,7 +1235,7 @@ END;
    and max_lag, are only present if the 
    option is used.
    They provide statistics about the time each transaction had to wait for the
-   previous one to finish, i.e. the difference between each transaction's
+   previous one to finish, i.e., the difference between each transaction's
    scheduled start time and the time it actually started.
    The very last field, skipped,
    is only present if the 
index 7a7eec66182dd5e84dee6c10897d2e9bcaefa9f8..53498747750d188c7fa2c7ec825e1f2bf749fb8c 100644 (file)
@@ -41,8 +41,8 @@ PostgreSQL documentation
   pg_upgrade (formerly called pg_migrator) allows data
   stored in PostgreSQL data files to be upgraded to a later PostgreSQL
   major version without the data dump/reload typically required for
-  major version upgrades, e.g. from 9.5.8 to 9.6.4 or from 10.7 to 11.2.
-  It is not required for minor version upgrades, e.g. from 9.6.2 to 9.6.3
+  major version upgrades, e.g., from 9.5.8 to 9.6.4 or from 10.7 to 11.2.
+  It is not required for minor version upgrades, e.g., from 9.6.2 to 9.6.3
   or from 10.1 to 10.2.
  
 
@@ -60,7 +60,7 @@ PostgreSQL documentation
 
  
   pg_upgrade does its best to
-  make sure the old and new clusters are binary-compatible, e.g.  by
+  make sure the old and new clusters are binary-compatible, e.g.,  by
   checking for compatible compile-time settings, including 32/64-bit
   binaries.  It is important that
   any external modules are also binary compatible, though this cannot
@@ -209,13 +209,13 @@ PostgreSQL documentation
     Optionally move the old cluster
 
     
-     If you are using a version-specific installation directory, e.g.
+     If you are using a version-specific installation directory, e.g.,
      /opt/PostgreSQL/&majorversion;, you do not need to move the old cluster. The
      graphical installers all use version-specific installation directories.
     
 
     
-     If your installation directory is not version-specific, e.g.
+     If your installation directory is not version-specific, e.g.,
      /usr/local/pgsql, it is necessary to move the current PostgreSQL install
      directory so it does not interfere with the new PostgreSQL installation.
      Once the current PostgreSQL server is shut down, it is safe to rename the
@@ -273,9 +273,9 @@ make prefix=/usr/local/pgsql.new install
 
     
      Install any custom shared object files (or DLLs) used by the old cluster
-     into the new cluster, e.g. pgcrypto.so,
+     into the new cluster, e.g., pgcrypto.so,
      whether they are from contrib
-     or some other source. Do not install the schema definitions, e.g.
+     or some other source. Do not install the schema definitions, e.g.,
      CREATE EXTENSION pgcrypto, because these will be upgraded
      from the old cluster.
      Also, any custom full text search files (dictionary, synonym,
@@ -481,7 +481,7 @@ pg_upgrade.exe
 
       
        Save any configuration files from the old standbys' configuration
-       directories you need to keep, e.g.  postgresql.conf
+       directories you need to keep, e.g.,  postgresql.conf
        (and any files included by it), postgresql.auto.conf,
        recovery.confpg_hba.conf,
        because these will be overwritten or removed in the next step.
@@ -508,7 +508,7 @@ rsync --archive --delete --hard-links --size-only --no-inc-recursive old_cluster
        on the standby.  The directory structure under the specified
        directories on the primary and standbys must match.  Consult the
        rsync manual page for details on specifying the
-       remote directory, e.g.
+       remote directory, e.g.,
 
 
 rsync --archive --delete --hard-links --size-only --no-inc-recursive /opt/PostgreSQL/9.5 \
@@ -634,7 +634,7 @@ psql --username=postgres --file=script.sql postgres
      pg_upgrade completes. (Automatic deletion is not
      possible if you have user-defined tablespaces inside the old data
      directory.)  You can also delete the old installation directories
-     (e.g. bin, share).
+     (e.g., bin, share).
     
    
 
@@ -734,7 +734,7 @@ psql --username=postgres --file=script.sql postgres
    If you are upgrading a pre-PostgreSQL 9.2 cluster
    that uses a configuration-file-only directory, you must pass the
    real data directory location to pg_upgrade, and
-   pass the configuration directory location to the server, e.g.
+   pass the configuration directory location to the server, e.g.,
    -d /real-data-directory -o '-D /configuration-directory'.
   
 
@@ -755,7 +755,7 @@ psql --username=postgres --file=script.sql postgres
    copy with any changes to make it consistent.  (
    is necessary because rsync only has file modification-time
    granularity of one second.)  You might want to exclude some
-   files, e.g. postmaster.pid, as documented in 
+   files, e.g., postmaster.pid, as documented in 
    linkend="backup-lowlevel-base-backup">.  If your file system supports
    file system snapshots or copy-on-write file copies, you can use that
    to make a backup of the old cluster and tablespaces, though the snapshot
index fc11aa14a607e1060b4a5814670537fc33841d0e..aaa7f37f2cfd0d99441e02f706a30e7a45a64244 100644 (file)
@@ -822,7 +822,7 @@ PostgreSQL documentation
 
   
    To start postgres with a specific
-   port, e.g. 1234:
+   port, e.g., 1234:
 
 $ postgres -p 1234
 
index 9ac49a21ef171c597cac20b83444dbfe43e90928..617fe3abaec12751baa91599bca628e4ea47a10d 100644 (file)
@@ -73,7 +73,7 @@ PREPARE name [ ( 
    Prepared statements potentially have the largest performance advantage
    when a single session is being used to execute a large number of similar
    statements. The performance difference will be particularly
-   significant if the statements are complex to plan or rewrite, e.g.
+   significant if the statements are complex to plan or rewrite, e.g.,
    if the query involves a join of many tables or requires
    the application of several rules. If the statement is relatively simple
    to plan and rewrite but relatively expensive to execute, the
@@ -154,7 +154,7 @@ PREPARE name [ ( 
 
   
    To examine the query plan PostgreSQL is using
-   for a prepared statement, use , e.g.
+   for a prepared statement, use , e.g.,
    EXPLAIN EXECUTE.
    If a generic plan is in use, it will contain parameter symbols
    $n, while a custom plan will have the
index b903bc11dd9c61493b28a5e25ef40153c1b2697e..2f747c4be619b9335b400ef40dd188f37e6303d9 100644 (file)
@@ -624,7 +624,7 @@ EOF
 
   
    psql returns 0 to the shell if it
-   finished normally, 1 if a fatal error of its own occurs (e.g. out of memory,
+   finished normally, 1 if a fatal error of its own occurs (e.g., out of memory,
    file not found), 2 if the connection to the server went bad
    and the session was not interactive, and 3 if an error occurred in a
    script and the variable ON_ERROR_STOP was set.
@@ -2768,7 +2768,7 @@ lo_import 152801
           In latex-longtable format, this controls
           the proportional width of each column containing a left-aligned
           data type.  It is specified as a whitespace-separated list of values,
-          e.g. '0.2 0.2 0.6'.  Unspecified output columns
+          e.g., '0.2 0.2 0.6'.  Unspecified output columns
           use the last specified value.
           
           
@@ -4102,7 +4102,7 @@ testdb=> \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%]%# '
     psql starts up. Tab-completion is also
     supported, although the completion logic makes no claim to be an
     SQL parser.  The queries generated by tab-completion
-    can also interfere with other SQL commands, e.g. SET
+    can also interfere with other SQL commands, e.g., SET
     TRANSACTION ISOLATION LEVEL.
     If for some reason you do not like the tab completion, you
     can turn it off by putting this in a file named
index 661f3c1048c4a105cdf732f19dc4dfea8e0622c1..0b1f19b2c184ac80c5ec690051b6d3c1b811ba0f 100644 (file)
@@ -7389,7 +7389,7 @@ Branch: REL9_4_STABLE [c7b96ba29] 2018-10-10 13:53:03 -0700
 -->
      
       Fix logical decoding to handle cases where a mapped catalog table is
-      repeatedly rewritten, e.g. by VACUUM FULL
+      repeatedly rewritten, e.g., by VACUUM FULL
       (Andres Freund)
      
     
index 317ca9a1dfbf3d175c9f855d41ec012eeb87d9f8..0883ca06d0557c20ae0df239269c47199e5a17ba 100644 (file)
@@ -31,7 +31,7 @@
   which is what should be used to refer to the origin across systems, is
   free-form text. It should be used in a way that makes conflicts
   between replication origins created by different replication solutions
-  unlikely; e.g. by prefixing the replication solution's name to it.
+  unlikely; e.g., by prefixing the replication solution's name to it.
   The OID is used only to avoid having to store the long version
   in situations where space efficiency is important. It should never be shared
   across systems.
@@ -68,7 +68,7 @@
   manner. Replay progress for all replication origins can be seen in the
   
    pg_replication_origin_status
-   view. An individual origin's progress, e.g. when resuming
+   view. An individual origin's progress, e.g., when resuming
   replication, can be acquired using
   pg_replication_origin_progress()
   for any origin or
@@ -86,7 +86,7 @@
   output plugin callbacks (see )
   generated by the session is tagged with the replication origin of the
   generating session.  This allows treating them differently in the output
-  plugin, e.g. ignoring all but locally-originating rows.  Additionally
+  plugin, e.g., ignoring all but locally-originating rows.  Additionally
   the 
   filter_by_origin_cb callback can be used
   to filter the logical decoding change stream based on the
index ad3d9a97babed53c6fe63918a0dcfa9ad06dccd5..96525f2be87679e9b3e5c147123ec0afb3149613 100644 (file)
@@ -1946,7 +1946,7 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433
     be migrated in-place from one major PostgreSQL
     version to another.  Upgrades can be performed in minutes,
     particularly with 
-    pg_dumpall above, e.g.  starting/stopping the server,
+    pg_dumpall above, e.g.,  starting/stopping the server,
     running initdb.  The pg_upgrade 
     linkend="pgupgrade">documentation outlines the necessary steps.
    
index 6a8d3765a24f5ba6820aa12bc07d94de0216e369..d4d990e9b6504bf0a7f9676cfe38577c56aa8e99 100644 (file)
@@ -527,7 +527,7 @@ UPDATE t1 SET x = 2, y = md5sum(y) WHERE z = 100;
     commands. SELinux provides a feature to allow trusted
     code to run using a security label different from that of the client,
     generally for the purpose of providing highly controlled access to
-    sensitive data (e.g. rows might be omitted, or the precision of stored
+    sensitive data (e.g., rows might be omitted, or the precision of stored
     values might be reduced).  Whether or not a function acts as a trusted
     procedure is controlled by its security label and the operating system
     security policy.  For example:
index 9a6bd3ddf1b854c98b5a7d0f6bf946e809bfab1d..a78eb789263e8117c98f8b3e39aff934e601cb17 100644 (file)
@@ -888,7 +888,7 @@ BETTER: unrecognized node type: 42
     
      Both, macros with arguments and static inline
      functions, may be used. The latter are preferable if there are
-     multiple-evaluation hazards when written as a macro, as e.g. the
+     multiple-evaluation hazards when written as a macro, as e.g., the
      case with
 
 #define Max(x, y)       ((x) > (y) ? (x) : (y))
@@ -899,7 +899,7 @@ BETTER: unrecognized node type: 42
     
     
      When the definition of an inline function references symbols
-     (i.e. variables, functions) that are only available as part of the
+     (i.e., variables, functions) that are only available as part of the
      backend, the function may not be visible when included from frontend
      code.
 
index c949bcf9fa45d13135498eca897ef41202cbaee0..b7342475c72908003fc8503c83160c78dce0aefe 100644 (file)
@@ -47,7 +47,7 @@
     
     
     
-     Returns the name of the protocol used for the SSL connection (e.g. TLSv1.0
+     Returns the name of the protocol used for the SSL connection (e.g., TLSv1.0
      TLSv1.1, or TLSv1.2).
     
     
@@ -63,7 +63,7 @@
     
     
      Returns the name of the cipher used for the SSL connection
-     (e.g. DHE-RSA-AES256-SHA).
+     (e.g., DHE-RSA-AES256-SHA).
     
     
    
index 969a278ec53e254ccdac4725351d76f9ea80b2e8..a81e9074900b9e73301c45ed6cfe53fc8340f75e 100644 (file)
      overhead can reduce performance, especially if journaling
      causes file system data to be flushed
      to disk.  Fortunately, data flushing during journaling can
-     often be disabled with a file system mount option, e.g.
+     often be disabled with a file system mount option, e.g.,
      data=writeback on a Linux ext3 file system.
      Journaled file systems do improve boot speed after a crash.
     
index 5e92fa9272eabe4de2d4324d8627d138b8770a5d..37ff92ebdeec4e351b7bda5f81d71a6d356ef21e 100644 (file)
      Besides SELECT queries, the commands can include data
      modification queries (INSERT,
      UPDATE, and DELETE), as well as
-     other SQL commands. (You cannot use transaction control commands, e.g.
+     other SQL commands. (You cannot use transaction control commands, e.g.,
      COMMIT, SAVEPOINT, and some utility
-     commands, e.g.  VACUUM, in SQL functions.)
+     commands, e.g.,  VACUUM, in SQL functions.)
      However, the final command
      must be a SELECT or have a RETURNING
      clause that returns whatever is
@@ -3363,7 +3363,7 @@ if (!ptr)
         exceptions.  Any exceptions must be caught and appropriate errors
         passed back to the C interface.  If possible, compile C++ with
         
-        cases, you must check for failures in your C++ code, e.g.  check for
+        cases, you must check for failures in your C++ code, e.g.,  check for
         NULL returned by new().
        
       
index 0fd7053a0354d18d94f53e57233e7b5ca691ce2e..6f1f896277af9555cc46e86a4a12e566b5f78d70 100644 (file)
@@ -327,7 +327,7 @@ AS t(article_id integer, author text, page_count integer, title text);
    The calling SELECT statement doesn't necessarily have to be
    just SELECT * — it can reference the output
    columns by name or join them to other tables. The function produces a
-   virtual table with which you can perform any operation you wish (e.g.
+   virtual table with which you can perform any operation you wish (e.g.,
    aggregation, joining, sorting etc). So we could also have:
 
 SELECT t.title, p.fullname, p.email