View | Details | Raw Unified | Return to bug 257904
Collapse All | Expand All

(-)b/databases/postgresql-wal2json/Makefile (+22 lines)
Added Link Here
1
PORTNAME=	wal2json
2
PORTVERSION=	2.3
3
CATEGORIES=	databases
4
PKGNAMEPREFIX=	postgresql${PGSQL_VER:S/.//}-
5
6
MAINTAINER=	daniel@morante.net
7
COMMENT=	JSON output plugin for changeset extraction for PostgreSQL databases
8
9
LICENSE=	BSD3CLAUSE
10
LICENSE_FILE=	${WRKSRC}/LICENSE
11
12
USES=		gmake pgsql:9.6-13
13
WANT_PGSQL=	server
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	eulerto
16
GH_TAGNAME=	${PORTNAME}_${PORTVERSION:S/./_/}
17
18
MAKE_ARGS=	PG_CONFIG=${LOCALBASE}/bin/pg_config
19
20
PLIST_FILES=	lib/postgresql/wal2json.so
21
22
.include <bsd.port.mk>
(-)b/databases/postgresql-wal2json/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1629177407
2
SHA256 (eulerto-wal2json-2.3-wal2json_2_3_GH0.tar.gz) = 2ebf71ace3c9f4b66703bcf6e3fa6ef7b6b026f9e31db4cf864eb3deb4e1a5b3
3
SIZE (eulerto-wal2json-2.3-wal2json_2_3_GH0.tar.gz) = 87413
(-)b/databases/postgresql-wal2json/pkg-descr (+7 lines)
Added Link Here
1
wal2json is an output plugin for logical decoding. It means that the plugin have
2
access to tuples produced by INSERT and UPDATE. Also, UPDATE/DELETE old row
3
versions can be accessed depending on the configured replica identity.
4
Changes can be consumed using the streaming protocol (logical replication slots)
5
or by a special SQL API.
6
7
WWW: https://github.com/getsentry/wal2json/
(-)b/databases/postgresql-wal2json/pkg-message (+17 lines)
Added Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
You need to set up at least two parameters in postgresql.conf:
5
6
	wal_level = logical
7
	#
8
	# these parameters only need to set in versions 9.4, 9.5 and 9.6
9
	# default values are ok in version 10 or later
10
	#
11
	max_replication_slots = 10
12
	max_wal_senders = 10
13
14
After changing these parameters, a restart is needed.
15
EOM
16
}
17
]

Return to bug 257904