Re: COPY FROM STDIN hang - Mailing list pgsql-jdbc

From Robert Creager
Subject Re: COPY FROM STDIN hang
Date
Msg-id BE90E9D5-50C4-45A0-9DCF-8F44330A5F30@logicalchaos.org
Whole thread Raw
In response to Re: COPY FROM STDIN hang  (Robert Creager <robert@logicalchaos.org>)
List pgsql-jdbc


On Mar 23, 2021, at 3:51 PM, Robert Creager <robert@logicalchaos.org> wrote:

A different theory, which is hard to prove without debug symbols
to provide more detail in the trace, is that it might be looping
due to following a closed loop of btree page right-links.  Which
shouldn't happen normally, but perhaps this index is corrupt.
Can you try reindexing the indexes of the COPY's target table?


Thanks Tom, since the reindex we’ve been unable to reproduce the problem again.

The big question is do you have any random thoughts on how a index may of gotten corrupted?  The db lives on a two SSC ZFS mirror, so I’d not expect disk corruption.

Best,
Robert

pgsql-jdbc by date:

Previous
From: Robert Creager
Date:
Subject: Re: COPY FROM STDIN hang
Next
From: Prasanth
Date:
Subject: Re: Exception while updating result set