@@ -120,7 +120,7 @@ ALTER SYSTEM SET <varname>schedule.database</> = '<replaceable>database1</>,<rep
120
120
</listitem>
121
121
<listitem>
122
122
<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
124
124
of background workers that can run simultaneously on each
125
125
database:
126
126
</para>
@@ -159,7 +159,7 @@ SELECT <function>pg_reload_conf()</>;
159
159
The <filename>pgpro_scheduler</filename> extension starts a
160
160
separate background worker for the system, each database, and
161
161
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,
163
163
<filename>pgpro_scheduler</filename> can use up to 13 workers at
164
164
peak times: one worker is supervising the system, two workers
165
165
are monitoring the two databases, and 10 workers can be started
@@ -172,7 +172,7 @@ SELECT <function>pg_reload_conf()</>;
172
172
<para>
173
173
Alternatively, you can modify <filename>pgpro_scheduler</filename>
174
174
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
176
176
background workers:
177
177
</para>
178
178
<programlisting>
@@ -295,7 +295,7 @@ For details, see <xref linkend="schedule-create-job"> function description.</par
295
295
If all background workers are busy at the specified time, the
296
296
job waits for the next available worker. By default, the
297
297
<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
299
299
<literal>last_start_available</literal> key, in the <link linkend="datatype-datetime">time interval</link> format.
300
300
If the timeout is reached, <filename>pgpro_scheduler</filename>
301
301
cancels the job execution.
@@ -444,7 +444,7 @@ SELECT schedule.create_job('{"commands": "SELECT random()",
444
444
</para>
445
445
</listitem>
446
446
<listitem>
447
- <para>Define the maximal wait time before the function gets
447
+ <para>Define the maximum wait time before the function gets
448
448
executed using the <literal>last_start_available</literal>
449
449
key. If the timeout is reached, <filename>pgpro_scheduler</filename> cancels the job.
450
450
</para>
@@ -600,7 +600,7 @@ SELECT schedule.create_job('{"commands": "SELECT ''zzz''", &
600
600
<sect2 id="pgpro-scheduler-reference">
601
601
<title>Reference</title>
602
602
<sect3 id="pgpro-scheduler-guc-variables">
603
- <title>Variables</title>
603
+ <title>GUC Variables</title>
604
604
<variablelist>
605
605
<varlistentry id="pgpro-scheduler-schedule-enable" xreflabel="schedule.enable">
606
606
<term><varname>schedule.enable</varname> (<type>boolean</type>)
@@ -672,7 +672,7 @@ SELECT schedule.create_job('{"commands": "SELECT ''zzz''", &
672
672
</term>
673
673
<listitem>
674
674
<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>
676
676
<para>Default: <literal>2</literal>.
677
677
</para>
678
678
</listitem>
@@ -751,12 +751,12 @@ CREATE TYPE schedule.cron_rec AS(
751
751
use_same_transaction boolean, -- true if an array of SQL
752
752
-- commands will be executed
753
753
-- in a single transaction
754
- last_start_available interval, -- maximal wait time for
754
+ last_start_available interval, -- maximum wait time for
755
755
-- the scheduled job if all
756
756
-- allowed workers are busy
757
- max_instances int, -- maximal number of simultaneously
757
+ max_instances int, -- maximum number of simultaneously
758
758
-- running job instances
759
- max_run_time interval, -- maximal execution time
759
+ max_run_time interval, -- maximum execution time
760
760
onrollback text, -- SQL statement to execute
761
761
-- if the main transaction fails
762
762
@@ -791,12 +791,12 @@ CREATE TYPE schedule.cron_job AS(
791
791
-- commands will be executed
792
792
-- in a single transaction
793
793
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
795
795
-- the scheduled job if all
796
796
-- allowed workers are busy
797
797
finished timestamp, -- timestamp of the job
798
798
-- execution finish
799
- max_run_time interval, -- maximal execution time
799
+ max_run_time interval, -- maximum execution time
800
800
max_instances int, -- the number of simultaneously
801
801
-- running job instances
802
802
onrollback text, -- SQL statement to execute if the main
@@ -1057,8 +1057,8 @@ schedule.create_job(<parameter>dates</parameter> <type>timestamp with time zone[
1057
1057
<type>interval</type>
1058
1058
</entry>
1059
1059
<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
1062
1062
reached at the scheduled moment. For example, if this
1063
1063
key is set to '00:02:34', the job will wait for 2
1064
1064
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[
1073
1073
<type>interval</type>
1074
1074
</entry>
1075
1075
<entry>
1076
- Optional. The maximal time interval during which the
1076
+ Optional. The maximum time interval during which the
1077
1077
scheduled job can be executed. If this key is NULL or
1078
1078
not set, there are no time limits. Default: NULL.
1079
1079
</entry>
@@ -1259,7 +1259,7 @@ schedule.create_job(<parameter>dates</parameter> <type>timestamp with time zone[
1259
1259
Return values:
1260
1260
<itemizedlist>
1261
1261
<listitem><para><literal>true</literal> — the job was activated successfully.</para></listitem>
1262
- <listitem><para><literal>false</literal> — job activaction failed.</para></listitem>
1262
+ <listitem><para><literal>false</literal> — job activation failed.</para></listitem>
1263
1263
</itemizedlist>
1264
1264
</para>
1265
1265
</listitem>
0 commit comments