Re: psql and COPY BINARY

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql and COPY BINARY
Date: 2005-12-15 01:28:53
Message-ID: 43A0C6D5.9030206@familyhealth.com.au
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"?
>
> There wasn't any obvious bang for the buck in rewriting it.

The obvious one (and why I submitted a patch - see previous email) was
for people who use the psql source code as sample code, which is what I
was doing at the time for PHP 5.1's PostgreSQL module.

Chris

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-12-15 01:34:16 Re: Immodest Proposal: pg_catalog.pg_ddl
Previous Message Christopher Kings-Lynne 2005-12-15 01:27:04 Re: psql and COPY BINARY