Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty data when filter is enabled #1

Open
Fxlr8 opened this issue Mar 22, 2018 · 1 comment
Open

Empty data when filter is enabled #1

Fxlr8 opened this issue Mar 22, 2018 · 1 comment

Comments

@Fxlr8
Copy link

Fxlr8 commented Mar 22, 2018

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.

@goldfix
Copy link
Owner

goldfix commented Mar 23, 2018

Hi @Fxlr8 ,

I will check...

p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants