File tree Expand file tree Collapse file tree 22 files changed +176
-0
lines changed Expand file tree Collapse file tree 22 files changed +176
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * bit_array.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#include <stdlib.h>
2
10
#include "bit_array.h"
3
11
#include "postgres.h"
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * bit_array.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifndef PGPRO_SCHEDULER_BITARRAY_H
2
10
#define PGPRO_SCHEDULER_BITARRAY_H
3
11
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * char_array.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#include <stdio.h>
2
10
#include <stdlib.h>
3
11
#include "postgres.h"
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * char_array.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifndef CHAR_ARRAY_H
2
10
#define CHAR_ARRAY_H
3
11
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * cron_string.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#include <stdio.h>
2
10
#include <stdlib.h>
3
11
#include <string.h>
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * cron_string.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifndef CRON_STRING_PARSE_H
2
10
#define CRON_STRING_PARSE_H
3
11
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * memutils.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#include "postgres.h"
2
10
#include "utils/memutils.h"
3
11
#include "memutils.h"
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * memutils.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifndef PGPRO_SCHEDULER_MEMUTILS_H
2
10
#define PGPRO_SCHEDULER_MEMUTILS_H
3
11
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * pgpro_scheduler.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#define ENABLE_LIST_COMPAT 1
2
10
3
11
#include "postgres.h"
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * pgpro_scheduler.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifndef PGPRO_SCHEDULER_H
2
10
#define PGPRO_SCHEDULER_H
3
11
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * sched_manager_poll.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#include <stdlib.h>
2
10
#include "postgres.h"
3
11
#include "string.h"
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * sched_manager_poll.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifndef PGPRO_SCHEDULER_MANAGER_POLL_H
2
10
#define PGPRO_SCHEDULER_MANAGER_POLL_H
3
11
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scheduler_executor.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#include <stdlib.h>
2
10
#include <stdarg.h>
3
11
#include "postgres.h"
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scheduler_executor.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifndef PGPRO_SCHEDULER_EXECUTOR_H
2
10
#define PGPRO_SCHEDULER_EXECUTOR_H
3
11
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scheduler_job.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#include <stdio.h>
2
10
#include <string.h>
3
11
#include <stdarg.h>
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scheduler_job.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifndef PGPRO_SCHEDULER_JOB_H
2
10
#define PGPRO_SCHEDULER_JOB_H
3
11
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scheduler_manager.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#include <stdlib.h>
2
10
#include "postgres.h"
3
11
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scheduler_manager.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifndef PGPRO_SCHEDULER_MANAGER_H
2
10
#define PGPRO_SCHEDULER_MANAGER_H
3
11
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scheduler_mtm.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifdef _WITH_MTM
2
10
3
11
/* This code is aimed to interact with Postgres Pro Multimaster extension
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scheduler_mtm.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifdef _WITH_MTM
2
10
#ifndef SCHEDULER_MTM_H
3
11
#define SCHEDULER_MTM_H
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scheduler_spi_utils.c
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#include "postgres.h"
2
10
#include "fmgr.h"
3
11
#include "executor/spi.h"
Original file line number Diff line number Diff line change
1
+ /*-------------------------------------------------------------------------
2
+ *
3
+ * scheduler_spi_utils.h
4
+ *
5
+ * Copyright (c) 2017-2018, Postgres Professional
6
+ *
7
+ *-------------------------------------------------------------------------
8
+ */
1
9
#ifndef PGPRO_SCHEDULER_SPI_H
2
10
#define PGPRO_SCHEDULER_SPI_H
3
11
You can’t perform that action at this time.
0 commit comments