Re: Postgres jdbc bulk insert stuck - Mailing list pgsql-jdbc

From Vladimir Sitnikov
Subject Re: Postgres jdbc bulk insert stuck
Date
Msg-id CAB=Je-G-koBJ_Ygd8h8Fz81HdqMEoXPs7Je=v35tmCEj_7ArFQ@mail.gmail.com
Whole thread Raw
In response to Re: Postgres jdbc bulk insert stuck  (dmachop <dmachop@gmail.com>)
List pgsql-jdbc
Can you please share the code that reproduces the issue? I mean DDL to create the table, and the data for the batch insert.

Alternatively, can you try rebuilding pgjdbc with MAX_BUFFERED_RECV_BYTES=250 and check if that helps? (see https://github.com/pgjdbc/pgjdbc/blob/94549ffe6c2e643efb1f779a23673b2518e465c1/pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java#L291)

Vladimir

pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: Re: Postgres jdbc bulk insert stuck
Next
From: "Bazan, Hernan"
Date:
Subject: JDBC failing due to networking issues