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

Commitf3e1e66

Browse files
committed
Minor fixes in docs and error messages.
Alexander LakhinDiscussion:https://postgr.es/m/ce7debdd-c943-d7a7-9b41-687107b27831@gmail.com
1 parent60df530 commitf3e1e66

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

‎doc/src/sgml/bgworker.sgml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,18 @@
3434
<productname>PostgreSQL</productname> is started by including the module name in
3535
<varname>shared_preload_libraries</varname>. A module wishing to run a background
3636
worker can register it by calling
37-
<function>RegisterBackgroundWorker(<type>BackgroundWorker *worker</type>)</function>
38-
from its <function>_PG_init()</function>. Background workers can also be started
39-
after the system is up and running by calling the function
40-
<function>RegisterDynamicBackgroundWorker(<type>BackgroundWorker
41-
*worker, BackgroundWorkerHandle **handle</type>)</function>. Unlike
42-
<function>RegisterBackgroundWorker</function>, which can only be called from within
43-
the postmaster, <function>RegisterDynamicBackgroundWorker</function> must be
44-
called from a regular backend or another background worker.
37+
<function>RegisterBackgroundWorker(<type>BackgroundWorker</type>
38+
*<parameter>worker</parameter>)</function>
39+
from its <function>_PG_init()</function> function.
40+
Background workers can also be started
41+
after the system is up and running by calling
42+
<function>RegisterDynamicBackgroundWorker(<type>BackgroundWorker</type>
43+
*<parameter>worker</parameter>, <type>BackgroundWorkerHandle</type>
44+
**<parameter>handle</parameter>)</function>. Unlike
45+
<function>RegisterBackgroundWorker</function>, which can only be called from
46+
within the postmaster process,
47+
<function>RegisterDynamicBackgroundWorker</function> must be called
48+
from a regular backend or another background worker.
4549
</para>
4650

4751
<para>

‎doc/src/sgml/btree.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
</listitem>
264264
</varlistentry>
265265
<varlistentry>
266-
<term><function>inrange</function></term>
266+
<term><function>in_range</function></term>
267267
<listitem>
268268
<indexterm>
269269
<primary>in_range support functions</primary>

‎doc/src/sgml/intarray.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@
453453
-- a message can be in one or more <quote>sections</quote>
454454
CREATE TABLE message (mid INT PRIMARY KEY, sections INT[], ...);
455455

456-
-- create specialized index withsigature length of 32 bytes
456+
-- create specialized index withsignature length of 32 bytes
457457
CREATE INDEX message_rdtree_idx ON message USING GIST (sections gist__int_ops(siglen=32));
458458

459459
-- select messages in section 1 OR 2 - OVERLAP operator

‎src/backend/replication/backup_manifest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ AddWALInfoToBackupManifest(backup_manifest_info *manifest, XLogRecPtr startptr,
272272
*/
273273
if (!found_start_timeline)
274274
ereport(ERROR,
275-
errmsg("start timeline %u not found history of timeline %u",
275+
errmsg("start timeline %u not foundinhistory of timeline %u",
276276
starttli,endtli));
277277

278278
/* Terminate the list of WAL ranges. */

‎src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3140,7 +3140,7 @@ static struct config_int ConfigureNamesInt[] =
31403140
},
31413141
{
31423142
{"autovacuum_vacuum_insert_threshold",PGC_SIGHUP,AUTOVACUUM,
3143-
gettext_noop("Minimum number of tuple inserts prior to vacuum, or -1 to disable insert vacuums"),
3143+
gettext_noop("Minimum number of tuple inserts prior to vacuum, or -1 to disable insert vacuums."),
31443144
NULL
31453145
},
31463146
&autovacuum_vac_ins_thresh,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp