Skip to content

Commit a71f617

Browse files
author
Liudmila Mantrova
committed
Fixes for typos in scheduler docs
1 parent 92eadd8 commit a71f617

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

doc/src/sgml/pgpro-scheduler.sgml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ ALTER SYSTEM SET <varname>schedule.database</> = '<replaceable>database1</>,<rep
120120
</listitem>
121121
<listitem>
122122
<para>
123-
To control the workload in your system, set the maximal number
123+
To control the workload in your system, set the maximum number
124124
of background workers that can run simultaneously on each
125125
database:
126126
</para>
@@ -159,7 +159,7 @@ SELECT <function>pg_reload_conf()</>;
159159
The <filename>pgpro_scheduler</filename> extension starts a
160160
separate background worker for the system, each database, and
161161
each monitored job. For example, if you work with two databases
162-
and set the maximal number of workers to 5,
162+
and set the maximum number of workers to 5,
163163
<filename>pgpro_scheduler</filename> can use up to 13 workers at
164164
peak times: one worker is supervising the system, two workers
165165
are monitoring the two databases, and 10 workers can be started
@@ -172,7 +172,7 @@ SELECT <function>pg_reload_conf()</>;
172172
<para>
173173
Alternatively, you can modify <filename>pgpro_scheduler</filename>
174174
settings in the <filename>postgresql.conf</filename> file. In this
175-
case, all databases will have the same maximal number of
175+
case, all databases will have the same maximum number of
176176
background workers:
177177
</para>
178178
<programlisting>
@@ -295,7 +295,7 @@ For details, see <xref linkend="schedule-create-job"> function description.</par
295295
If all background workers are busy at the specified time, the
296296
job waits for the next available worker. By default, the
297297
<filename>pgpro_scheduler</filename> can wait forever. You can
298-
limit the maximal wait time by setting the
298+
limit the maximum wait time by setting the
299299
<literal>last_start_available</literal> key, in the <link linkend="datatype-datetime">time interval</link> format.
300300
If the timeout is reached, <filename>pgpro_scheduler</filename>
301301
cancels the job execution.
@@ -444,7 +444,7 @@ SELECT schedule.create_job('{&quot;commands&quot;: &quot;SELECT random()&quot;,
444444
</para>
445445
</listitem>
446446
<listitem>
447-
<para>Define the maximal wait time before the function gets
447+
<para>Define the maximum wait time before the function gets
448448
executed using the <literal>last_start_available</literal>
449449
key. If the timeout is reached, <filename>pgpro_scheduler</filename> cancels the job.
450450
</para>
@@ -600,7 +600,7 @@ SELECT schedule.create_job('{&quot;commands&quot;: &quot;SELECT ''zzz''&quot;, &
600600
<sect2 id="pgpro-scheduler-reference">
601601
<title>Reference</title>
602602
<sect3 id="pgpro-scheduler-guc-variables">
603-
<title>Variables</title>
603+
<title>GUC Variables</title>
604604
<variablelist>
605605
<varlistentry id="pgpro-scheduler-schedule-enable" xreflabel="schedule.enable">
606606
<term><varname>schedule.enable</varname> (<type>boolean</type>)
@@ -672,7 +672,7 @@ SELECT schedule.create_job('{&quot;commands&quot;: &quot;SELECT ''zzz''&quot;, &
672672
</term>
673673
<listitem>
674674
<para>
675-
Specifies the maximal number of simultaneously running jobs in one database.</para>
675+
Specifies the maximum number of simultaneously running jobs in one database.</para>
676676
<para>Default: <literal>2</literal>.
677677
</para>
678678
</listitem>
@@ -751,12 +751,12 @@ CREATE TYPE schedule.cron_rec AS(
751751
use_same_transaction boolean, -- true if an array of SQL
752752
-- commands will be executed
753753
-- in a single transaction
754-
last_start_available interval, -- maximal wait time for
754+
last_start_available interval, -- maximum wait time for
755755
-- the scheduled job if all
756756
-- allowed workers are busy
757-
max_instances int, -- maximal number of simultaneously
757+
max_instances int, -- maximum number of simultaneously
758758
-- running job instances
759-
max_run_time interval, -- maximal execution time
759+
max_run_time interval, -- maximum execution time
760760
onrollback text, -- SQL statement to execute
761761
-- if the main transaction fails
762762

@@ -791,12 +791,12 @@ CREATE TYPE schedule.cron_job AS(
791791
-- commands will be executed
792792
-- in a single transaction
793793
started timestamp, -- timestamp of the job execution start
794-
last_start_available timestamp, -- maximal wait time for
794+
last_start_available timestamp, -- maximum wait time for
795795
-- the scheduled job if all
796796
-- allowed workers are busy
797797
finished timestamp, -- timestamp of the job
798798
-- execution finish
799-
max_run_time interval, -- maximal execution time
799+
max_run_time interval, -- maximum execution time
800800
max_instances int, -- the number of simultaneously
801801
-- running job instances
802802
onrollback text, -- SQL statement to execute if the main
@@ -1057,8 +1057,8 @@ schedule.create_job(<parameter>dates</parameter> <type>timestamp with time zone[
10571057
<type>interval</type>
10581058
</entry>
10591059
<entry>
1060-
Optional. The maximal time interval to postpone the job
1061-
execution if the maximal number of allowed workers
1060+
Optional. The maximum time interval to postpone the job
1061+
execution if the maximum number of allowed workers
10621062
reached at the scheduled moment. For example, if this
10631063
key is set to '00:02:34', the job will wait for 2
10641064
minutes 34 seconds. If this key is NULL or not set, the
@@ -1073,7 +1073,7 @@ schedule.create_job(<parameter>dates</parameter> <type>timestamp with time zone[
10731073
<type>interval</type>
10741074
</entry>
10751075
<entry>
1076-
Optional. The maximal time interval during which the
1076+
Optional. The maximum time interval during which the
10771077
scheduled job can be executed. If this key is NULL or
10781078
not set, there are no time limits. Default: NULL.
10791079
</entry>
@@ -1259,7 +1259,7 @@ schedule.create_job(<parameter>dates</parameter> <type>timestamp with time zone[
12591259
Return values:
12601260
<itemizedlist>
12611261
<listitem><para><literal>true</literal> &mdash; the job was activated successfully.</para></listitem>
1262-
<listitem><para><literal>false</literal> &mdash; job activaction failed.</para></listitem>
1262+
<listitem><para><literal>false</literal> &mdash; job activation failed.</para></listitem>
12631263
</itemizedlist>
12641264
</para>
12651265
</listitem>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy