Skip to content

Empty data when filter is enabled #1

@Fxlr8

Description

@Fxlr8

Hi, when I use the plugin without filter i get

pg_recvlogical -U postgres -d website --slot fc_events --start --create-slot -P wal2json -o pretty-print=1 -o -f -

{
	"change": [
		{
			"kind": "insert",
			"schema": "public",
			"table": "messages",
			"columnnames": ["id", "user_id", "peer_user_id", "text", "date", "readed", "deleted", "peer_deleted"],
			"columntypes": ["integer", "integer", "integer", "character varying", "timestamp(6) without time zone", "boolean", "boolean", "boolean"],
			"columnvalues": [61480, 32118646, 251586469, "hello world", "2018-03-22 21:51:46.822391", false, false, false]
		}
	]
}

when I filter by public.messages table the result is
pg_recvlogical -U postgres -d website --slot fc_events --start --create-slot -P wal2json -o pretty-print=1 -o filter-tables="public.messages," -f

{
	"change": [
		{
			"kind": "insert",
			"schema": "public",
			"table": "messages",
			"columnnames": [],
			"columntypes": [],
			"columnvalues": []
		}
	]
}

All data arrays are empty. I am using Postgresql 10 on Ubuntu 16.

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