psql and COPY BINARY - Mailing list pgsql-hackers

From Andreas Pflug
Subject psql and COPY BINARY
Date
Msg-id 43A00275.5030209@pse-consulting.de
Whole thread Raw
Responses Re: psql and COPY BINARY  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: psql and COPY BINARY  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Examining why psql won't do sensible stuff with COPY BINARY, I realized 
that psql still uses PQgetline, which is marked obsolete since 7.4.
Is this intentional or just a "never reviewed because it works"? 
Unfortunately, psql/copy.c also states "if you want to use copy in your 
app, this is the code to steal". Seems not a good template code any more.


Regards,
Andreas


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Refactoring psql for backward-compatibility
Next
From: Andrew Dunstan
Date:
Subject: Re: Refactoring psql for backward-compatibility