Re: [GENERAL] [HACKERS] pgjdbc logical replication client throwing exception

2017-09-19 Thread Dipesh Dangol
Hi Andres, I also checked server log. Nothing unusual is recorded there. Do you have any other suggestion. Thank you. Best regards, Dipesh Dangol On Fri, Sep 15, 2017 at 11:32 PM, Dipesh Dangol wrote: > Hi Vladimir, > Ya, initially I was trying with withStatusInterval(20, TimeUnit.S

Re: [GENERAL] [HACKERS] pgjdbc logical replication client throwing exception

2017-09-15 Thread Dipesh Dangol
Hi Vladimir, Ya, initially I was trying with withStatusInterval(20, TimeUnit.SECONDS), that didn't work so, then only I switched to .withStatusInterval(20, TimeUnit.MILLISECONDS) but it is not working as well. I am not aware of type of test cases that you are pointing. Could you please send me any

[GENERAL] pgjdbc logical replication client throwing exception

2017-09-15 Thread Dipesh Dangol
hi, I am trying to implement logical replication stream API of postgresql. I am facing unusual connection breakdown problem. Here is the simple code that I am using to read WAL file: String url = "jdbc:postgresql://pcnode2:5432/benchmarksql"; Properties props = new Properties();

[GENERAL] logical replication API to read WAL file through replication slot

2017-09-06 Thread Dipesh Dangol
.core.v3.QueryExecutorImpl.readFromCopy( QueryExecutorImpl.java:1026) ... 5 more I am trying to implement some logic like filtering out the unrelated table after reading log. But due to this unusual behavior I couldn't implement properly. Can somebody give me some hint how to solve this problem. Thank you. Dipesh Dangol