Re: COPY FROM performance improvements

From: "Luke Lonergan" <LLonergan(at)greenplum(dot)com>
To: "Alvaro Herrera" <alvherre(at)surnet(dot)cl>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Alon Goldshuv" <agoldshuv(at)greenplum(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: COPY FROM performance improvements
Date: 2005-06-27 06:23:05
Message-ID: 3E37B936B592014B978C4415F90D662D0C420B@MI8NYCMAIL06.Mi8.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches pgsql-performance

Alvaro,

> Am I the only one annoyed by the fact that the patch is not very nice to
> 80-columns-wide terminals? It doesn't need to be a rigid rule but I
> think the code looks much better if it's not too wide. This code is
> wide already, but I think we should be making it better, not the other
> way around.

Yup - fixed (as well as I can without mucking readability).

> Also, your text editor seems to be messing the indentation of comments
> when there are ( or other symbols in the comment text. (Maybe this
> doesn't matter a lot because pgindent will fix it, but still -- it makes
> it slightly more difficult to read.)

Yah - I think I fixed several mis-indented comments. I'm using vim with
tabstop=4. I personally don't like tabs in text and would prefer them
expanded using spaces, but that's a nice way to make small formatting
changes look huge in a cvs diff.

See attached - only formatting changes included.

- Luke

Attachment Content-Type Size
fast_copy_V11_8.1.patch application/octet-stream 56.3 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Stephen Frost 2005-06-27 06:29:49 Users/Groups -> Roles
Previous Message Tom Lane 2005-06-27 06:13:03 Re: limiting connections per user/database

Browse pgsql-performance by date

  From Date Subject
Next Message Praveen Raja 2005-06-27 11:24:06 Insert performance vs Table size
Previous Message Radu-Adrian Popescu 2005-06-25 11:42:44 Re: Speed with offset clause