kibae / pg-logical-replication

PostgreSQL Logical Replication client for node.js
https://www.npmjs.com/package/pg-logical-replication
MIT License
95 stars 22 forks source link

Postgresql string array data type string[] failed when parsing #6

Closed minhdao closed 2 years ago

minhdao commented 6 years ago

Hi kibae,

We encountered some issues with Postgresql array data type. Can you add support for this?

Thank you, Minh

kibae commented 2 years ago

Hi, @minhdao

3 It's a similar issue.

This project is being rewritten using typescript. Better plugins like wal2json and decoderbufs are also available. How about trying out wal2json with the new version? Take a look at the ts-main branch. https://github.com/kibae/pg-logical-replication/tree/ts-main

I don't have a README ready yet, but I can show you how to use wal2json with test code. https://github.com/kibae/pg-logical-replication/blob/ts-main/src/test/decoder-wal2json.spec.ts

kibae commented 2 years ago

The project has been updated to 2.x. Various plugins can be used, so using a plugin other than test_decoding will solve it. 🙏