View Single Post

   
  #1 (permalink)  
Old 04-11-2008, 07:20 AM
Andreas Pflug
 
Posts: n/a
Default psql and COPY BINARY

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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply With Quote