Skip to content

Commit fbfa2bb

Browse files
committed
Doc: Fix various typos
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
1 parent afa71d9 commit fbfa2bb

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4925,7 +4925,7 @@ struct
49254925

49264926
<para>
49274927
The fields <structfield>sqlcaid</structfield>,
4928-
<structfield>sqlcabc</structfield>,
4928+
<structfield>sqlabc</structfield>,
49294929
<structfield>sqlerrp</structfield>, and the remaining elements of
49304930
<structfield>sqlerrd</structfield> and
49314931
<structfield>sqlwarn</structfield> currently contain no useful

doc/src/sgml/func.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2503,7 +2503,7 @@
25032503
</row>
25042504

25052505
<row>
2506-
<entry><literal>tcvn_to_utf8</literal></entry>
2506+
<entry><literal>windows_1258_to_utf8</literal></entry>
25072507
<entry><literal>WIN1258</literal></entry>
25082508
<entry><literal>UTF8</literal></entry>
25092509
</row>
@@ -2671,7 +2671,7 @@
26712671
</row>
26722672

26732673
<row>
2674-
<entry><literal>utf8_to_tcvn</literal></entry>
2674+
<entry><literal>utf8_to_windows_1258</literal></entry>
26752675
<entry><literal>UTF8</literal></entry>
26762676
<entry><literal>WIN1258</literal></entry>
26772677
</row>

doc/src/sgml/gist.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,8 @@ my_picksplit(PG_FUNCTION_ARGS)
664664

665665
/*
666666
* Choose where to put the index entries and update unionL and unionR
667-
* accordingly. Append the entries to either v_spl_left or
668-
* v_spl_right, and care about the counters.
667+
* accordingly. Append the entries to either v-&gt;spl_left or
668+
* v-&gt;spl_right, and care about the counters.
669669
*/
670670

671671
if (my_choice_is_left(unionL, curl, unionR, curr))

doc/src/sgml/libpq.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5333,7 +5333,7 @@ int PQendcopy(PGconn *conn);
53335333
It should either be issued when the last string has been sent
53345334
to the server using <function>PQputline</function> or when the
53355335
last string has been received from the server using
5336-
<function>PGgetline</function>. It must be issued or the server
5336+
<function>PQgetline</function>. It must be issued or the server
53375337
will get <quote>out of sync</quote> with the client. Upon return
53385338
from this function, the server is ready to receive the next SQL
53395339
command. The return value is 0 on successful completion,

doc/src/sgml/plpgsql.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3576,7 +3576,7 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
35763576
<para>
35773577
If no condition name nor SQLSTATE is specified in a
35783578
<command>RAISE EXCEPTION</command> command, the default is to use
3579-
<literal>RAISE_EXCEPTION</> (<literal>P0001</>). If no message
3579+
<literal>ERRCODE_RAISE_EXCEPTION</> (<literal>P0001</>). If no message
35803580
text is specified, the default is to use the condition name or
35813581
SQLSTATE as message text.
35823582
</para>
@@ -5227,7 +5227,7 @@ BEGIN
52275227
INSERT INTO cs_active_job(job_id) VALUES (v_job_id);
52285228

52295229
BEGIN
5230-
INSERT INTO cs_jobs (job_id, start_stamp) VALUES (v_job_id, sysdate);
5230+
INSERT INTO cs_jobs (job_id, start_stamp) VALUES (v_job_id, now());
52315231
EXCEPTION
52325232
WHEN dup_val_on_index THEN NULL; -- don't worry if it already exists
52335233
END;

doc/src/sgml/problems.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
C library, processor, memory information, and so on. In most
253253
cases it is sufficient to report the vendor and version, but do
254254
not assume everyone knows what exactly <quote>Debian</quote>
255-
contains or that everyone runs on i386s. If you have
255+
contains or that everyone runs on x86_64. If you have
256256
installation problems then information about the toolchain on
257257
your machine (compiler, <application>make</application>, and so
258258
on) is also necessary.

doc/src/sgml/ref/create_aggregate.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ CREATE AGGREGATE <replaceable class="PARAMETER">name</replaceable> (
189189
as described in <xref linkend="xaggr-moving-aggregates">. This requires
190190
specifying the <literal>MSFUNC</>, <literal>MINVFUNC</>,
191191
and <literal>MSTYPE</> parameters, and optionally
192-
the <literal>MSPACE</>, <literal>MFINALFUNC</>, <literal>MFINALFUNC_EXTRA</>,
192+
the <literal>MSSPACE</>, <literal>MFINALFUNC</>, <literal>MFINALFUNC_EXTRA</>,
193193
and <literal>MINITCOND</> parameters. Except for <literal>MINVFUNC</>,
194194
these parameters work like the corresponding simple-aggregate parameters
195195
without <literal>M</>; they define a separate implementation of the

doc/src/sgml/ref/set_role.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ RESET ROLE
7070
effectively drops all the privileges assigned directly to the session user
7171
and to the other roles it is a member of, leaving only the privileges
7272
available to the named role. On the other hand, if the session user role
73-
has the <literal>NOINHERITS</> attribute, <command>SET ROLE</> drops the
73+
has the <literal>NOINHERIT</> attribute, <command>SET ROLE</> drops the
7474
privileges assigned directly to the session user and instead acquires the
7575
privileges available to the named role.
7676
</para>

doc/src/sgml/sslinfo.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ countryName (alias C)
180180
localityName (alias L)
181181
stateOrProvinceName (alias ST)
182182
organizationName (alias O)
183-
organizationUnitName (alias OU)
183+
organizationalUnitName (alias OU)
184184
title
185185
description
186186
initials

doc/src/sgml/xplang.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ CREATE FUNCTION <replaceable>validator_function_name</replaceable>(oid)
144144
<para>
145145
Finally, the PL must be declared with the command
146146
<synopsis>
147-
CREATE <optional>TRUSTED</optional> <optional>PROCEDURAL</optional> LANGUAGE <replaceable>language-name</replaceable>
147+
CREATE <optional>TRUSTED</optional> <optional>PROCEDURAL</optional> LANGUAGE <replaceable>language_name</replaceable>
148148
HANDLER <replaceable>handler_function_name</replaceable>
149149
<optional>INLINE <replaceable>inline_function_name</replaceable></optional>
150150
<optional>VALIDATOR <replaceable>validator_function_name</replaceable></optional> ;

0 commit comments

Comments
 (0)