Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit93dcec9

Browse files
committed
Doc: Fix various typos
All those fixes are already included on HEAD thanks to for examplec96581a and66bde49, and have gone missing on back-branches.Author: Alexander Lakhin, Liudmila MantrovaDiscussion:https://postgr.es/m/CAEkD-mDJHV3bhgezu3MUafJLoAKsOOT86+wHukKU8_NeiJYhLQ@mail.gmail.comBackpatch-through: 9.4
1 parent2b24cf9 commit93dcec9

File tree

12 files changed

+19
-22
lines changed

12 files changed

+19
-22
lines changed

‎doc/src/sgml/custom-scan.sgml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ typedef struct CustomPath
8383
by <literal>nodeToString</literal>, so that debugging routines that attempt to
8484
print the custom path will work as designed. <structfield>methods</structfield> must
8585
point to a (usually statically allocated) object implementing the required
86-
custom path methods, of which there is currently only one. The
87-
<structfield>LibraryName</structfield> and <structfield>SymbolName</structfield> fields must also
88-
be initialized so that the dynamic loader can resolve them to locate the
89-
method table.
86+
custom path methods, of which there is currently only one.
9087
</para>
9188

9289
<para>

‎doc/src/sgml/ecpg.sgml

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

49714971
<para>
49724972
The fields <structfield>sqlcaid</structfield>,
4973-
<structfield>sqlcabc</structfield>,
4973+
<structfield>sqlabc</structfield>,
49744974
<structfield>sqlerrp</structfield>, and the remaining elements of
49754975
<structfield>sqlerrd</structfield> and
49764976
<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
@@ -2786,7 +2786,7 @@
27862786
</row>
27872787

27882788
<row>
2789-
<entry><literal>tcvn_to_utf8</literal></entry>
2789+
<entry><literal>windows_1258_to_utf8</literal></entry>
27902790
<entry><literal>WIN1258</literal></entry>
27912791
<entry><literal>UTF8</literal></entry>
27922792
</row>
@@ -2954,7 +2954,7 @@
29542954
</row>
29552955

29562956
<row>
2957-
<entry><literal>utf8_to_tcvn</literal></entry>
2957+
<entry><literal>utf8_to_windows_1258</literal></entry>
29582958
<entry><literal>UTF8</literal></entry>
29592959
<entry><literal>WIN1258</literal></entry>
29602960
</row>

‎doc/src/sgml/gist.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,8 @@ my_picksplit(PG_FUNCTION_ARGS)
696696

697697
/*
698698
* Choose where to put the index entries and update unionL and unionR
699-
* accordingly. Append the entries to eitherv_spl_left or
700-
*v_spl_right, and care about the counters.
699+
* accordingly. Append the entries to eitherv-&gt;spl_left or
700+
*v-&gt;spl_right, and care about the counters.
701701
*/
702702

703703
if (my_choice_is_left(unionL, curl, unionR, curr))
@@ -910,7 +910,7 @@ Datum
910910
my_fetch(PG_FUNCTION_ARGS)
911911
{
912912
GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
913-
input_data_type *in =DatumGetP(entry->key);
913+
input_data_type *in =DatumGetPointer(entry->key);
914914
fetched_data_type *fetched_data;
915915
GISTENTRY *retval;
916916

@@ -921,7 +921,7 @@ my_fetch(PG_FUNCTION_ARGS)
921921
* Convert 'fetched_data' into the a Datum of the original datatype.
922922
*/
923923

924-
/* fill *retval fromfetch_data. */
924+
/* fill *retval fromfetched_data. */
925925
gistentryinit(*retval, PointerGetDatum(converted_datum),
926926
entry->rel, entry->page, entry->offset, FALSE);
927927

‎doc/src/sgml/libpq.sgml

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

‎doc/src/sgml/plpgsql.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3734,9 +3734,9 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
37343734
<para>
37353735
If no condition name nor SQLSTATE is specified in a
37363736
<command>RAISE EXCEPTION</command> command, the default is to use
3737-
<literal>RAISE_EXCEPTION</literal> (<literal>P0001</literal>). If no message
3738-
text is specified, the default is to use the condition name or
3739-
SQLSTATE as message text.
3737+
<literal>ERRCODE_RAISE_EXCEPTION</literal> (<literal>P0001</literal>).
3738+
If no messagetext is specified, the default is to use the condition
3739+
name orSQLSTATE as message text.
37403740
</para>
37413741

37423742
<note>
@@ -5549,7 +5549,7 @@ BEGIN
55495549
INSERT INTO cs_active_job(job_id) VALUES (v_job_id);
55505550

55515551
BEGIN
5552-
INSERT INTO cs_jobs (job_id, start_stamp) VALUES (v_job_id,sysdate);
5552+
INSERT INTO cs_jobs (job_id, start_stamp) VALUES (v_job_id,now());
55535553
EXCEPTION
55545554
WHEN dup_val_on_index THEN NULL; -- don't worry if it already exists
55555555
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 oni386s. If you have
255+
contains or that everyone runs onx86_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
@@ -202,7 +202,7 @@ CREATE AGGREGATE <replaceable class="parameter">name</replaceable> (
202202
as described in <xref linkend="xaggr-moving-aggregates"/>. This requires
203203
specifying the <literal>MSFUNC</literal>, <literal>MINVFUNC</literal>,
204204
and <literal>MSTYPE</literal> parameters, and optionally
205-
the <literal>MSPACE</literal>, <literal>MFINALFUNC</literal>,
205+
the <literal>MSSPACE</literal>, <literal>MFINALFUNC</literal>,
206206
<literal>MFINALFUNC_EXTRA</literal>, <literal>MFINALFUNC_MODIFY</literal>,
207207
and <literal>MINITCOND</literal> parameters. Except for <literal>MINVFUNC</literal>,
208208
these parameters work like the corresponding simple-aggregate parameters

‎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</literal> attribute, <command>SET ROLE</command> drops the
73+
has the <literal>NOINHERIT</literal> attribute, <command>SET ROLE</command> 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/sources.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ BETTER: unrecognized node type: 42
875875
</para>
876876
<para>
877877
For example <literal>static inline</literal> and
878-
<literal>_StaticAssert()</literal> are currently used, even
878+
<literal>_Static_assert()</literal> are currently used, even
879879
though they are from newer revisions of the C standard. If not
880880
available we respectively fall back to defining the functions
881881
without inline, and to using a C89 compatible replacement that

‎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
@@ -137,7 +137,7 @@ CREATE FUNCTION <replaceable>validator_function_name</replaceable>(oid)
137137
<para>
138138
Finally, the PL must be declared with the command
139139
<synopsis>
140-
CREATE <optional>TRUSTED</optional> <optional>PROCEDURAL</optional> LANGUAGE <replaceable>language-name</replaceable>
140+
CREATE <optional>TRUSTED</optional> <optional>PROCEDURAL</optional> LANGUAGE <replaceable>language_name</replaceable>
141141
HANDLER <replaceable>handler_function_name</replaceable>
142142
<optional>INLINE <replaceable>inline_function_name</replaceable></optional>
143143
<optional>VALIDATOR <replaceable>validator_function_name</replaceable></optional> ;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp