Skip to content

Unable to use wal2json plugin with the demo #54

@viggy28

Description

@viggy28

I cannot get the demo running with wal2json as the output plugin. The message format looks completely different between wal2json and pgoutput. FWIW, I tried with both the format versions of wal2json and also tried it on different PG versions.

It panics since the pglogrepl.Message is Unknown

panic: interface conversion: interface is nil, not pglogrepl.Message 

goroutine 1 [running]:
github.com/jackc/pglogrepl.Parse({0xc0000f401e, 0xa8, 0xa8})
        /Users/viggy28/go/pkg/mod/github.com/jackc/pglogrepl@v0.0.0-20230318140337-5ef673a9d169/message.go:649 +0x2b9
main.main()
        /Users/viggy28/Sourcecontrol/github.com/viggy28/pglogrepl/main.go:136 +0xdda

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions