1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

databases/pg_cron: New port

pg_cron is a simple cron-based job scheduler for PostgreSQL (10 or higher) that
  runs inside the database as an extension. It uses the same syntax as regular
  cron, but it allows you to schedule PostgreSQL commands directly from the
  database.

Sponsored by:	Bounce Commerce
This commit is contained in:
Torsten Zuehlsdorff 2024-10-28 23:53:44 +01:00
parent f4a07165f8
commit b3ac13fbfd
5 changed files with 41 additions and 0 deletions

View File

@ -550,6 +550,7 @@
SUBDIR += pgFormatter
SUBDIR += pg_activity
SUBDIR += pg_citus
SUBDIR += pg_cron
SUBDIR += pg_dirtyread
SUBDIR += pg_ed25519
SUBDIR += pg_filedump

View File

@ -0,0 +1,22 @@
PORTNAME= pg_cron
PORTVERSION= 1.6.4
DISTVERSIONPREFIX= v
CATEGORIES= databases
MAINTAINER= tz@FreeBSD.org
COMMENT= Cron-based job scheduler for PostgreSQL that runs inside the database
WWW= https://github.com/citusdata/pg_cron
LICENSE= PostgreSQL
USES= gmake pgsql:10+
WANT_PGSQL= server
USE_GITHUB= yes
GH_ACCOUNT= citusdata
INSTALL_TARGET= install-strip
MAKE_ARGS= INSTALL="${INSTALL} -c"
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1730153844
SHA256 (citusdata-pg_cron-v1.6.4_GH0.tar.gz) = 52d1850ee7beb85a4cb7185731ef4e5a90d1de216709d8988324b0d02e76af61
SIZE (citusdata-pg_cron-v1.6.4_GH0.tar.gz) = 55141

View File

@ -0,0 +1,5 @@
pg_cron is a simple cron-based job scheduler for PostgreSQL (10 or higher) that
runs inside the database as an extension. It uses the same syntax as regular
cron, but it allows you to schedule PostgreSQL commands directly from the
database. You can also use '[1-59] seconds' to schedule a job based on an
interval.

View File

@ -0,0 +1,10 @@
lib/postgresql/pg_cron.so
share/postgresql/extension/pg_cron--1.0--1.1.sql
share/postgresql/extension/pg_cron--1.0.sql
share/postgresql/extension/pg_cron--1.1--1.2.sql
share/postgresql/extension/pg_cron--1.2--1.3.sql
share/postgresql/extension/pg_cron--1.3--1.4.sql
share/postgresql/extension/pg_cron--1.4--1.4-1.sql
share/postgresql/extension/pg_cron--1.4-1--1.5.sql
share/postgresql/extension/pg_cron--1.5--1.6.sql
share/postgresql/extension/pg_cron.control