Doc: Fix various typos
authorMichael Paquier
Tue, 20 Aug 2019 04:46:23 +0000 (13:46 +0900)
committerMichael Paquier
Tue, 20 Aug 2019 04:46:23 +0000 (13:46 +0900)
All those fixes are already included on HEAD thanks to for example
c96581a and 66bde49, and have gone missing on back-branches.

Author: Alexander Lakhin, Liudmila Mantrova
Discussion: https://postgr.es/m/CAEkD-mDJHV3bhgezu3MUafJLoAKsOOT86+wHukKU8_NeiJYhLQ@mail.gmail.com
Backpatch-through: 9.4

doc/src/sgml/ecpg.sgml
doc/src/sgml/func.sgml
doc/src/sgml/gist.sgml
doc/src/sgml/libpq.sgml
doc/src/sgml/plpgsql.sgml
doc/src/sgml/problems.sgml
doc/src/sgml/ref/create_aggregate.sgml
doc/src/sgml/ref/set_role.sgml
doc/src/sgml/sslinfo.sgml
doc/src/sgml/xplang.sgml

index 37dee2bc8058555ea1e5f92bafdea1fd70840d2e..e50584b29c09a41f118943618c72341956bac8a6 100644 (file)
@@ -4925,7 +4925,7 @@ struct
 
    
     The fields sqlcaid,
-    sqlcabc,
+    sqlabc,
     sqlerrp, and the remaining elements of
     sqlerrd and
     sqlwarn currently contain no useful
index a73d6d3d01a624ff59fdc33d966f939f50745e02..8bac154d813b0099810f6e8e2cc7e8064ad5aaf5 100644 (file)
       
 
       
-       tcvn_to_utf8
+       windows_1258_to_utf8
        WIN1258
        UTF8
       
       
 
       
-       utf8_to_tcvn
+       utf8_to_windows_1258
        UTF8
        WIN1258
       
index 0158b1759e84b07354c212c818601c425a1103b5..73340a19cf43b35c8ec52e4469aa09aa2d05d4ca 100644 (file)
@@ -664,8 +664,8 @@ my_picksplit(PG_FUNCTION_ARGS)
 
         /*
          * Choose where to put the index entries and update unionL and unionR
-         * accordingly. Append the entries to either v_spl_left or
-         * v_spl_right, and care about the counters.
+         * accordingly. Append the entries to either v->spl_left or
+         * v->spl_right, and care about the counters.
          */
 
         if (my_choice_is_left(unionL, curl, unionR, curr))
index 223ade8aa2e91b3542ade1f098bbcdbf78b38e67..fed831cbbb931835f62214b828c24cd9e0ef17f5 100644 (file)
@@ -5333,7 +5333,7 @@ int PQendcopy(PGconn *conn);
        It should either be issued when the  last  string  has  been sent
        to  the  server using PQputline or when the
        last string has been  received  from  the  server using
-       PGgetline.  It must be issued or the server
+       PQgetline.  It must be issued or the server
        will get out of sync with  the client.   Upon return
        from this function, the server is ready to receive the next SQL
        command.  The return value is 0  on  successful  completion,
index bd72aa36d0c966bcbab5c2a4b435751efa52d88b..e442d2aaea2aad3744f7bf66c7bfdb415ad43f0e 100644 (file)
@@ -3576,7 +3576,7 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
    
     If no condition name nor SQLSTATE is specified in a
     RAISE EXCEPTION command, the default is to use
-    RAISE_EXCEPTION (P0001).  If no message
+    ERRCODE_RAISE_EXCEPTION (P0001).  If no message
     text is specified, the default is to use the condition name or
     SQLSTATE as message text.
    
@@ -5227,7 +5227,7 @@ BEGIN
     INSERT INTO cs_active_job(job_id) VALUES (v_job_id);
 
     BEGIN
-        INSERT INTO cs_jobs (job_id, start_stamp) VALUES (v_job_id, sysdate);
+        INSERT INTO cs_jobs (job_id, start_stamp) VALUES (v_job_id, now());
     EXCEPTION
         WHEN dup_val_on_index THEN NULL; -- don't worry if it already exists
     END;
index 764bca1f02951ebdb34e8fe968042d81e21e6a63..5385c60eb09221545f8691881a780bbebb1579a3 100644 (file)
       C library, processor, memory information, and so on. In most
       cases it is sufficient to report the vendor and version, but do
       not assume everyone knows what exactly Debian
-      contains or that everyone runs on i386s. If you have
+      contains or that everyone runs on x86_64. If you have
       installation problems then information about the toolchain on
       your machine (compiler, make, and so
       on) is also necessary.
index eaa410bc94cf181da4b126286f62d36906232c43..2a0dbb6291b044ffb24f35bd1beae1c42509a835 100644 (file)
@@ -189,7 +189,7 @@ CREATE AGGREGATE name (
    as described in .  This requires
    specifying the MSFUNC, MINVFUNC,
    and MSTYPE parameters, and optionally
-   the MSPACE, MFINALFUNC, MFINALFUNC_EXTRA,
+   the MSSPACE, MFINALFUNC, MFINALFUNC_EXTRA,
    and MINITCOND parameters.  Except for MINVFUNC,
    these parameters work like the corresponding simple-aggregate parameters
    without M; they define a separate implementation of the
index 8e2deb76351765453a55f1b5195258ef1a70682e..cb25ebbec6f0e84062fcc3fa3556dba74aa47d36 100644 (file)
@@ -70,7 +70,7 @@ RESET ROLE
    effectively drops all the privileges assigned directly to the session user
    and to the other roles it is a member of, leaving only the privileges
    available to the named role.  On the other hand, if the session user role
-   has the NOINHERITS attribute, SET ROLE drops the
+   has the NOINHERIT attribute, SET ROLE drops the
    privileges assigned directly to the session user and instead acquires the
    privileges available to the named role.
   
index 22ef4396abc98fea3db88cabb3a8059c70b1b884..9dfd24fd29cc12e31d1d3476b2a32a5e43548010 100644 (file)
@@ -180,7 +180,7 @@ countryName (alias C)
 localityName (alias L)
 stateOrProvinceName (alias ST)
 organizationName (alias O)
-organizationUnitName (alias OU)
+organizationalUnitName (alias OU)
 title
 description
 initials
index 68220bf63343f4e956c888b822875729bbb0b1d8..32433b13d9819d5a4e87f3be191895809b052596 100644 (file)
@@ -144,7 +144,7 @@ CREATE FUNCTION validator_function_name(oid)
      
       Finally, the PL must be declared with the command
 
-CREATE TRUSTED PROCEDURAL LANGUAGE language-name
+CREATE TRUSTED PROCEDURAL LANGUAGE language_name
     HANDLER handler_function_name
     INLINE inline_function_name
     VALIDATOR validator_function_name ;