diff options
author | asau <asau@pkgsrc.org> | 2010-12-10 03:51:31 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2010-12-10 03:51:31 +0000 |
commit | 4c421c317171637f23c8096986d867911aafebb7 (patch) | |
tree | ee1fdfbf57cdb2d27156aa213b07f44fe8209300 /databases/postgresql90-replicationtools | |
parent | 6a0064a8ad23c528e4a71d37ddfae3af7ccfef06 (diff) | |
download | pkgsrc-4c421c317171637f23c8096986d867911aafebb7.tar.gz |
Import PostgreSQL 9.0 replication tools as databases/postgresql90-replicationtools
This package provides the following PostgreSQL tools:
- pg_archivecleanup
- pg_standby
pg_standby supports creation of a "warm standby" database server.
It is designed to be a waiting restore_command, which is needed
to turn a standard archive recovery into a warm standby operation.
pg_archivecleanup is designed to cleanup an archive when used as
an archive_cleanup_command when running with standby_mode = on.
pg_archivecleanup can also be used as a standalone program to
clean WAL file archives.
Diffstat (limited to 'databases/postgresql90-replicationtools')
-rw-r--r-- | databases/postgresql90-replicationtools/DESCR | 12 | ||||
-rw-r--r-- | databases/postgresql90-replicationtools/Makefile | 16 | ||||
-rw-r--r-- | databases/postgresql90-replicationtools/PLIST | 3 |
3 files changed, 31 insertions, 0 deletions
diff --git a/databases/postgresql90-replicationtools/DESCR b/databases/postgresql90-replicationtools/DESCR new file mode 100644 index 00000000000..781934b4da0 --- /dev/null +++ b/databases/postgresql90-replicationtools/DESCR @@ -0,0 +1,12 @@ +This package provides the following PostgreSQL tools: + - pg_archivecleanup + - pg_standby + +pg_standby supports creation of a "warm standby" database server. +It is designed to be a waiting restore_command, which is needed +to turn a standard archive recovery into a warm standby operation. + +pg_archivecleanup is designed to cleanup an archive when used as +an archive_cleanup_command when running with standby_mode = on. +pg_archivecleanup can also be used as a standalone program to +clean WAL file archives. diff --git a/databases/postgresql90-replicationtools/Makefile b/databases/postgresql90-replicationtools/Makefile new file mode 100644 index 00000000000..6df88194fc8 --- /dev/null +++ b/databases/postgresql90-replicationtools/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/12/10 03:51:31 asau Exp $ + +PKGNAME= postgresql90-replicationtools-${BASE_VERS} +COMMENT= PostgreSQL replication tools +MAINTAINER= pkgsrc-users@NetBSD.org + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../databases/postgresql90/Makefile.common" + +BUILD_DIRS+= contrib/pg_archivecleanup +BUILD_DIRS+= contrib/pg_standby + +.include "../../databases/postgresql90-client/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/postgresql90-replicationtools/PLIST b/databases/postgresql90-replicationtools/PLIST new file mode 100644 index 00000000000..26fba11926b --- /dev/null +++ b/databases/postgresql90-replicationtools/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/12/10 03:51:31 asau Exp $ +${PG_SUBPREFIX}bin/pg_archivecleanup +${PG_SUBPREFIX}bin/pg_standby |