Bug 257904 - [NEW PORT] databases/postgresql-wal2json: JSON output plugin for changeset extraction
Summary: [NEW PORT] databases/postgresql-wal2json: JSON output plugin for changeset ex...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Juraj Lutter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-17 05:34 UTC by Daniel Morante
Modified: 2023-08-22 08:20 UTC (History)
1 user (show)

See Also:


Attachments
Git diff (2.34 KB, patch)
2021-08-17 05:34 UTC, Daniel Morante
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.