Bug 257904

Summary: [NEW PORT] databases/postgresql-wal2json: JSON output plugin for changeset extraction
Product: Ports & Packages Reporter: Daniel Morante <daniel>
Component: Individual Port(s)Assignee: Juraj Lutter <otis>
Status: Closed FIXED    
Severity: Affects Only Me CC: otis
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Git diff none

Description Daniel Morante 2021-08-17 05:34:18 UTC
Created attachment 227267 [details]
Git diff

New Port:

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/eulerto/wal2json

Tests currently running for 11,12,13.  I don't expect them to fail for such as simple port.  I am adding this port mostly because it's a dependency for Self-Hosted Sentry (https://github.com/getsentry/onpremise)
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-08-22 08:16:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ad47ed371cbbbc06f45722d6ac3afcdb3f6465a4

commit ad47ed371cbbbc06f45722d6ac3afcdb3f6465a4
Author:     Daniel Morante <daniel@morante.net>
AuthorDate: 2023-08-22 08:13:29 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2023-08-22 08:16:26 +0000

    databases/postgresql-wal2json: Add new port

    Add postgresql-wal2json, an output plugin for logical decoding.

    WWW:            https://github.com/eulerto/wal2json

    PR:             257904

 databases/Makefile                              |  1 +
 databases/postgresql-wal2json/Makefile (new)    | 23 +++++++++++++++++++++++
 databases/postgresql-wal2json/distinfo (new)    |  3 +++
 databases/postgresql-wal2json/pkg-descr (new)   |  5 +++++
 databases/postgresql-wal2json/pkg-message (new) | 17 +++++++++++++++++
 5 files changed, 49 insertions(+)
Comment 2 Juraj Lutter freebsd_committer freebsd_triage 2023-08-22 08:20:41 UTC
Committed, thanks.