FreeBSD Bugzilla – Attachment 227267 Details for
Bug 257904
[NEW PORT] databases/postgresql-wal2json: JSON output plugin for changeset extraction
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Git diff
postgresql-wal2json.diff (text/plain), 2.34 KB, created by
Daniel Morante
on 2021-08-17 05:34:18 UTC
(
hide
)
Description:
Git diff
Filename:
MIME Type:
Creator:
Daniel Morante
Created:
2021-08-17 05:34:18 UTC
Size:
2.34 KB
patch
obsolete
>diff --git a/databases/postgresql-wal2json/Makefile b/databases/postgresql-wal2json/Makefile >new file mode 100644 >index 000000000000..232a1767d007 >--- /dev/null >+++ b/databases/postgresql-wal2json/Makefile >@@ -0,0 +1,22 @@ >+PORTNAME= wal2json >+PORTVERSION= 2.3 >+CATEGORIES= databases >+PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- >+ >+MAINTAINER= daniel@morante.net >+COMMENT= JSON output plugin for changeset extraction for PostgreSQL databases >+ >+LICENSE= BSD3CLAUSE >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+USES= gmake pgsql:9.6-13 >+WANT_PGSQL= server >+USE_GITHUB= yes >+GH_ACCOUNT= eulerto >+GH_TAGNAME= ${PORTNAME}_${PORTVERSION:S/./_/} >+ >+MAKE_ARGS= PG_CONFIG=${LOCALBASE}/bin/pg_config >+ >+PLIST_FILES= lib/postgresql/wal2json.so >+ >+.include <bsd.port.mk> >diff --git a/databases/postgresql-wal2json/distinfo b/databases/postgresql-wal2json/distinfo >new file mode 100644 >index 000000000000..52abe6d7902c >--- /dev/null >+++ b/databases/postgresql-wal2json/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1629177407 >+SHA256 (eulerto-wal2json-2.3-wal2json_2_3_GH0.tar.gz) = 2ebf71ace3c9f4b66703bcf6e3fa6ef7b6b026f9e31db4cf864eb3deb4e1a5b3 >+SIZE (eulerto-wal2json-2.3-wal2json_2_3_GH0.tar.gz) = 87413 >diff --git a/databases/postgresql-wal2json/pkg-descr b/databases/postgresql-wal2json/pkg-descr >new file mode 100644 >index 000000000000..e6e40c0a4e3e >--- /dev/null >+++ b/databases/postgresql-wal2json/pkg-descr >@@ -0,0 +1,7 @@ >+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. >+ >+WWW: https://github.com/getsentry/wal2json/ >diff --git a/databases/postgresql-wal2json/pkg-message b/databases/postgresql-wal2json/pkg-message >new file mode 100644 >index 000000000000..9d3553ba00e8 >--- /dev/null >+++ b/databases/postgresql-wal2json/pkg-message >@@ -0,0 +1,17 @@ >+[ >+{ type: install >+ message: <<EOM >+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. >+EOM >+} >+]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257904
: 227267