Re: psql and COPY BINARY
| От | Andreas Pflug |
|---|---|
| Тема | Re: psql and COPY BINARY |
| Дата | |
| Msg-id | 43A0541E.5020307@pse-consulting.de обсуждение исходный текст |
| Ответ на | Re: psql and COPY BINARY (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: psql and COPY BINARY
|
| Список | pgsql-hackers |
Tom Lane wrote: > Andreas Pflug <pgadmin@pse-consulting.de> writes: > >>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. Well a non-binary copy could take as much as 5 times as much as a binary copy. I hit this when COPYing 1.5GB of data, getting a 6.6GB file. This made the 100MBit LAN connection a bottleneck. I might post a patch to support BINARY in psql some day. Regards, Andreas
В списке pgsql-hackers по дате отправления: