Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6abdac3

Browse files
author
Liudmila Mantrova
committed
Fix for &mdash typo in scheduler docs
1 parent 41175d7 commit 6abdac3

File tree

1 file changed

+29
-30
lines changed

1 file changed

+29
-30
lines changed

doc/src/sgml/pgpro-scheduler.sgml

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -214,54 +214,54 @@ SELECT <function>pg_reload_conf()</>;
214214
<itemizedlist>
215215
<listitem>
216216
<para>
217-
<literal>dates</literal> &mdash a single date or an array of
217+
<literal>dates</literal> &mdash; a single date or an array of
218218
dates, in the <type>timestamp with time zone</type> format
219219
</para>
220220
</listitem>
221221
<listitem>
222222
<para>
223-
<literal>cron</literal> &mdash a string, in the <type>crontab</type> format
223+
<literal>cron</literal> &mdash; a string, in the <type>crontab</type> format
224224
</para>
225225
</listitem>
226226
<listitem>
227227
<para>
228-
<literal>rule</literal> &mdash a <type>jsonb</type> object that includes one
228+
<literal>rule</literal> &mdash; a <type>jsonb</type> object that includes one
229229
or more of the following keys:
230230
</para>
231231
<itemizedlist>
232232
<listitem>
233233
<para>
234-
<literal>minutes</literal> &mdash minutes; an array of integers
234+
<literal>minutes</literal> &mdash; minutes; an array of integers
235235
in range [0, 59]
236236
</para>
237237
</listitem>
238238
<listitem>
239239
<para>
240-
<literal>hours</literal> &mdash hours; an array of integers in
240+
<literal>hours</literal> &mdash; hours; an array of integers in
241241
range [0, 23]
242242
</para>
243243
</listitem>
244244
<listitem>
245245
<para>
246-
<literal>days</literal> &mdash days of the month; an array of
246+
<literal>days</literal> &mdash; days of the month; an array of
247247
integers in range [1, 31]
248248
</para>
249249
</listitem>
250250
<listitem>
251251
<para>
252-
<literal>months</literal> &mdash months; an array of integers in
252+
<literal>months</literal> &mdash; months; an array of integers in
253253
range [1, 12]
254254
</para>
255255
</listitem>
256256
<listitem>
257257
<para>
258-
<literal>wdays</literal> &mdash days of the week; an array of
258+
<literal>wdays</literal> &mdash; days of the week; an array of
259259
integers in range [0, 6], where 0 is Sunday.
260260
</para>
261261
</listitem>
262262
<listitem>
263263
<para>
264-
<literal>onstart</literal> &mdash integer value 0 or 1. If
264+
<literal>onstart</literal> &mdash; integer value 0 or 1. If
265265
<literal>onstart</literal> is set to 1, the job is executed
266266
only once when <filename>pgpro_scheduler</filename> is
267267
started.
@@ -555,43 +555,43 @@ SELECT schedule.create_job('{&quot;commands&quot;: &quot;SELECT ''zzz''&quot;, &
555555
<itemizedlist>
556556
<listitem>
557557
<para>
558-
<function>get_job()</function> &mdash retrieves information about
558+
<function>get_job()</function> &mdash; retrieves information about
559559
the job.
560560
</para>
561561
</listitem>
562562
<listitem>
563563
<para>
564-
<function>get_owned_cron()</function> &mdash retrieves job list
564+
<function>get_owned_cron()</function> &mdash; retrieves job list
565565
owned by user.
566566
</para>
567567
</listitem>
568568
<listitem>
569569
<para>
570-
<function>get_cron()</function> &mdash retrieves job list executed
570+
<function>get_cron()</function> &mdash; retrieves job list executed
571571
as user.
572572
</para>
573573
</listitem>
574574
<listitem>
575575
<para>
576-
<function>get_active_jobs()</function> &mdash returns the list of
576+
<function>get_active_jobs()</function> &mdash; returns the list of
577577
jobs executed at the moment of the function call.
578578
</para>
579579
</listitem>
580580
<listitem>
581581
<para>
582-
<function>get_log()</function> &mdash returns the list of all
582+
<function>get_log()</function> &mdash; returns the list of all
583583
completed jobs.
584584
</para>
585585
</listitem>
586586
<listitem>
587587
<para>
588-
<function>get_user_log()</function> &mdash returns list of the
588+
<function>get_user_log()</function> &mdash; returns list of the
589589
completed jobs executed by the specified user.
590590
</para>
591591
</listitem>
592592
<listitem>
593593
<para>
594-
<function>clean_log()</function> &mdash deletes all records with
594+
<function>clean_log()</function> &mdash; deletes all records with
595595
information about completed jobs.
596596
</para>
597597
</listitem>
@@ -694,14 +694,14 @@ SELECT schedule.create_job('{&quot;commands&quot;: &quot;SELECT ''zzz''&quot;, &
694694
calculating the next job start time. Possible values
695695
are:
696696
<itemizedlist><listitem>
697-
<para><literal>success</literal> &mdash transaction has finished successfully.
697+
<para><literal>success</literal> &mdash; transaction has finished successfully.
698698
</para></listitem><listitem>
699-
<para><literal>failure</literal> &mdash transaction has failed to finish;.
699+
<para><literal>failure</literal> &mdash; transaction has failed to finish;.
700700
</para></listitem><listitem>
701701
<para><literal>running</literal> &mdash
702702
transaction is in progress. </para></listitem>
703703
<listitem>
704-
<para><literal>undefined</literal> &mdash transaction has
704+
<para><literal>undefined</literal> &mdash; transaction has
705705
not started yet. The last two values should not appear
706706
inside the user procedure. If you see them, they may
707707
indicate an internal <filename>pgpro_scheduler</filename>
@@ -843,27 +843,27 @@ schedule.create_job(<parameter>dates</parameter> <type>timestamp with time zone[
843843
<para>Arguments:</para>
844844
<itemizedlist>
845845
<listitem>
846-
<para><parameter>data</parameter> &mdash a <type>jsonb</type> object defining all the job properties. You do not need to define other parameters if the <parameter>data</parameter> is set. All the
846+
<para><parameter>data</parameter> &mdash; a <type>jsonb</type> object defining all the job properties. You do not need to define other parameters if the <parameter>data</parameter> is set. All the
847847
available <type>jsonb</type> keys are listed in <xref linkend="pgpro-scheduler-jsonb-keys">.</para>
848848
<para>Type: <type>jsonb</type></para>
849849
</listitem>
850850
<listitem>
851-
<para><parameter>cron</parameter> &mdash a crontab-like string defining the job schedule.</para>
851+
<para><parameter>cron</parameter> &mdash; a crontab-like string defining the job schedule.</para>
852852
<para>Type: <type>text</type></para>
853853
</listitem>
854854
<listitem>
855-
<para><parameter>dates</parameter> &mdash the exact date or an array of dates for job execution.</para>
855+
<para><parameter>dates</parameter> &mdash; the exact date or an array of dates for job execution.</para>
856856
<para>Type: <type>timestamp with time zone</type>, <type>timestamp with time zone[]</type></para>
857857
</listitem>
858858
<listitem>
859-
<para><parameter>commands</parameter> &mdash <acronym>SQL</acronym> statements to execute. You can pass one or more <acronym>SQL</acronym>
859+
<para><parameter>commands</parameter> &mdash; <acronym>SQL</acronym> statements to execute. You can pass one or more <acronym>SQL</acronym>
860860
statements separated by semicolons, or an array of <acronym>SQL</acronym>
861861
statements. When passed as an array, <acronym>SQL</acronym> statements are
862862
executed in separate transactions.</para>
863863
<para>Type: <type>text</type>, <type>text[]</type></para>
864864
</listitem>
865865
<listitem>
866-
<para><parameter>node</parameter> &mdash the name of the node on which the scheduled jobs
866+
<para><parameter>node</parameter> &mdash; the name of the node on which the scheduled jobs
867867
run. Optional. You may need to specify this argument if you are
868868
scheduling jobs on a multi-master cluster.</para>
869869
<para>Type: <type>text</type></para>
@@ -934,21 +934,21 @@ schedule.create_job(<parameter>dates</parameter> <type>timestamp with time zone[
934934
includes one or more of the following keys:
935935
<itemizedlist>
936936
<listitem>
937-
<para><literal>minutes</literal> &mdash minutes; an array of
937+
<para><literal>minutes</literal> &mdash; minutes; an array of
938938
integers in range [0, 59]
939939
</para></listitem><listitem><para>
940940
<literal>hours</literal> &mdash
941941
hours; an array of integers in range [0, 23]
942942
</para></listitem><listitem><para>
943-
<literal>days</literal> &mdash days of the month; an array of
943+
<literal>days</literal> &mdash; days of the month; an array of
944944
integers in range [1, 31]
945945
</para></listitem><listitem><para><literal>months</literal> &mdash
946946
months; an array of integers in range [1, 12]
947947
</para></listitem><listitem><para>
948-
<literal>wdays</literal> &mdash days of the week; an array of
948+
<literal>wdays</literal> &mdash; days of the week; an array of
949949
integers in range [0, 6], where 0 is Sunday.
950950
</para></listitem><listitem><para>
951-
<literal>onstart</literal> &mdash integer value 0 or 1. If
951+
<literal>onstart</literal> &mdash; integer value 0 or 1. If
952952
<literal>onstart</literal> is set to 1, the job is
953953
executed only once when
954954
<filename>pgpro_scheduler</filename> is started.</para></listitem></itemizedlist></para>
@@ -1418,8 +1418,7 @@ schedule.create_job(<parameter>dates</parameter> <type>timestamp with time zone[
14181418
Arguments:
14191419
<itemizedlist>
14201420
<listitem>
1421-
<para><parameter>username</parameter> &mdash; username, optional.</para>
1422-
</listitem>
1421+
<para><parameter>username</parameter> &mdash; username, optional.</para></listitem>
14231422
</itemizedlist>
14241423
</para>
14251424
<para>

0 commit comments

Comments
 (0)