>>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