Re: psql \copy hanging - Mailing list pgsql-general

From Daniel Verite
Subject Re: psql \copy hanging
Date
Msg-id f228a10f-748d-4da1-9aad-6ae81b9c48c9@manitou-mail.org
Whole thread Raw
In response to Re: psql \copy hanging  ("Arnaud L." <arnaud.listes@codata.eu>)
Responses Re: psql \copy hanging
Re: psql \copy hanging
List pgsql-general
    Arnaud L. wrote:

> As a side note, COPY (...) TO STDOUT \g 'somefile' does not work in a
> script file (i.e. it does not work if the command is passed in a file
> via the -f argument).
> The command runs fine, no error is raised either by the client or the
> server, but no file is written.

Testing this with 11.5, it works for me.
Make sure you're running the latest minor release (on the client
side in this case), because a related fix was issued last February.
For the 11 branch it was in version 11.2.


Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite



pgsql-general by date:

Previous
From: Timmy Siu
Date:
Subject: GPS coordinates problem
Next
From: "Arnaud L."
Date:
Subject: Re: psql \copy hanging