From: Arnaud L. <arnaud.listes@codata.eu>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general@postgresql.org
Subject: Re: psql \copy hanging
Date: Thu, 22 Aug 2019 16:07:43 +0200
Message-ID: <87b0474a-cd95-c983-08f9-5eef3bf50aed@codata.eu> (raw)
In-Reply-To: <f9cb2bae-9f54-df3d-900d-82371d6fb62c@aklaver.com>
References: <d5df5507-7491-5877-5412-c9325d0ec49c@codata.eu>
<f9cb2bae-9f54-df3d-900d-82371d6fb62c@aklaver.com>
Le 22/08/2019 à 16:00, Adrian Klaver a écrit :
> The first thing I think of when seeing this sort of behavior on Windows
> is anti-virus software. Doing you have any running on the machine?
>
> You say it always hangs on the same line. Is that line doing something
> different from the others? Say writing to a different location.
Thanks for your insights Adrian.
There is no AV software on the machine as it is a Server version of
Windows. (I know some people run AV on Windows Server, but I don't)
All the lines write to the same location which is a network share, but
the hanging one is clearly the longest query to execute and the output
file is one of the biggest one (though not the biggest).
Note that the share points to a local folder. The fact the psql writes
to a share is only for robustness so that this script could be executed
from any machine.
Cheers
--
Arnaud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: arnaud.listes@codata.eu, adrian.klaver@aklaver.com
Subject: Re: psql \copy hanging
In-Reply-To: <87b0474a-cd95-c983-08f9-5eef3bf50aed@codata.eu>
References: <d5df5507-7491-5877-5412-c9325d0ec49c@codata.eu> <f9cb2bae-9f54-df3d-900d-82371d6fb62c@aklaver.com> <87b0474a-cd95-c983-08f9-5eef3bf50aed@codata.eu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox