pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wal2json: Add package



Module Name:	pkgsrc-wip
Committed By:	Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By:	otis
Date:		Wed Oct 14 12:53:05 2020 +0000
Changeset:	07f166f2b136b6723a603a53b216fbcf6857a2f8

Added Files:
	postgresql-wal2json/DESCR
	postgresql-wal2json/PLIST
	postgresql-wal2json/distinfo

Log Message:
wal2json: Add package

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=07f166f2b136b6723a603a53b216fbcf6857a2f8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 postgresql-wal2json/DESCR    | 16 ++++++++++++++++
 postgresql-wal2json/PLIST    |  2 ++
 postgresql-wal2json/distinfo |  6 ++++++
 3 files changed, 24 insertions(+)

diffs:
diff --git a/postgresql-wal2json/DESCR b/postgresql-wal2json/DESCR
new file mode 100644
index 0000000000..a724e4c4d5
--- /dev/null
+++ b/postgresql-wal2json/DESCR
@@ -0,0 +1,16 @@
+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.
+
+format version 1 produces a JSON object per transaction. All of the new/old
+tuples are available in the JSON object. Also, there are options to include
+properties such as transaction timestamp, schema-qualified, data types, and
+transaction ids.
+
+format version 2 produces a JSON object per tuple. Optional JSON object for
+beginning and end of transaction. Also, there are a variety of options to
+include properties.
+
+WWW: https://github.com/eulerto/wal2json
diff --git a/postgresql-wal2json/PLIST b/postgresql-wal2json/PLIST
new file mode 100644
index 0000000000..3f0c37a18d
--- /dev/null
+++ b/postgresql-wal2json/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/postgresql/wal2json.so
diff --git a/postgresql-wal2json/distinfo b/postgresql-wal2json/distinfo
new file mode 100644
index 0000000000..725cc7ac9e
--- /dev/null
+++ b/postgresql-wal2json/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (wal2json_2_3.tar.gz) = 923f9bbcd0505a1f0b6eac1d371e4ff2d266a958
+RMD160 (wal2json_2_3.tar.gz) = ddd2a36503a2ec99e5a33e9fd9629612172db5fc
+SHA512 (wal2json_2_3.tar.gz) = 968f15a64daba77ad439fc95e4091ec2fe8581bf40559f1ff3a2c75c129e4954b43eea7300678a0b27a7fc880f25266e39aa8b9bc8bd2c9001661fc93f9c981f
+Size (wal2json_2_3.tar.gz) = 87413 bytes


Home | Main Index | Thread Index | Old Index