psql and COPY BINARY

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: psql and COPY BINARY
Date: 2005-12-14 11:31:01
Message-ID: 43A00275.5030209@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zoltan Boszormenyi 2005-12-14 13:06:04 Interesting speed anomaly
Previous Message Martijn van Oosterhout 2005-12-14 11:28:16 Re: Refactoring psql for backward-compatibility