BSD Ports

databases/postgresql-wal2json 2.5 DragonFly

JSON output plugin for changeset extraction for PostgreSQL databases

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
databases
Package size
19.0 KiB, 50.3 KiB installed

Description

wal2json is an output plugin for logical decoding. It means that the plugin have access to tuples produced by INSERT and UPDATE. Also, UPDATE/DELETE old row versions can be accessed depending on the configured replica identity. Changes can be consumed using the streaming protocol (logical replication slots) or by a special SQL API.

In the other systems

SystemPortVersion
DragonFlydatabases/postgresql-wal2json2.5
FreeBSDdatabases/postgresql-wal2json2.5
NetBSDdatabases/postgresql-wal2json2.6
MidnightBSDdatabases/postgresql-wal2json2.5

Install

Binary package:

pkg install postgresql13-wal2json

From DPorts:

cd /usr/dports/databases/postgresql-wal2json && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

You need to set up at least two parameters in postgresql.conf:

	wal_level = logical
	#
	# these parameters only need to set in versions 9.4, 9.5 and 9.6
	# default values are ok in version 10 or later
	#
	max_replication_slots = 10
	max_wal_senders = 10

After changing these parameters, a restart is needed.