Re: [JDBC] [HACKERS] pgjdbc logical replication client throwing exception - Mailing list pgsql-jdbc

From Andres Freund
Subject Re: [JDBC] [HACKERS] pgjdbc logical replication client throwing exception
Date
Msg-id 20170915200516.7nsdn3xoxowtyjx7@alap3.anarazel.de
Whole thread Raw
In response to Re: [JDBC] [HACKERS] pgjdbc logical replication client throwing exception  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Responses Re: [JDBC] [HACKERS] pgjdbc logical replication client throwing exception  (Dipesh Dangol <ddipeshdan@gmail.com>)
List pgsql-jdbc
On 2017-09-15 20:00:34 +0000, Vladimir Sitnikov wrote:
> ++pgjdbc dev list.
> 
> >I am facing unusual connection breakdown problem. Here is the simple code
> that I am using to read WAL file:
> 
> Does it always fails?
> Can you create a test case? For instance, if you file a pull request with
> the test, it will get automatically tested across various PG versions, so
> it would be easier to reson about
> 
> Have you tried "withStatusInterval(20, TimeUnit.SECONDS)" instead of 20
> millis? I don't think it matter much, however 20ms seems to be an overkill.

Also, have you checked the server log?

- Andres


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: Re: [JDBC] [HACKERS] pgjdbc logical replication client throwing exception
Next
From: Dipesh Dangol
Date:
Subject: Re: [JDBC] [HACKERS] pgjdbc logical replication client throwing exception