Re: COPY FROM performance improvements
| От | Bruce Momjian |
|---|---|
| Тема | Re: COPY FROM performance improvements |
| Дата | |
| Msg-id | 200506270151.j5R1p4H15631@candle.pha.pa.us обсуждение исходный текст |
| Ответ на | Re: COPY FROM performance improvements ("Luke Lonergan" <llonergan@greenplum.com>) |
| Ответы |
Re: COPY FROM performance improvements
|
| Список | pgsql-patches |
Please change 'if(' to 'if (', and remove parenthese like this:
for(start = s; (*s != c) && (s < (start + len)) ; s++)
My only other comment is, "Yow, that is a massive patch".
---------------------------------------------------------------------------
Luke Lonergan wrote:
> Tom,
>
> > Is it really faster than appendStringInfoString or
> > appendBinaryStringInfo?
>
> Apparently not, attached patch strips out the other bytebuffer and replaces
> it with appendBinaryStringInfo.
>
> - Luke
>
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-patches по дате отправления: