Re: CommitFest 2011-01 as of 2011-02-04

From: Shigeru HANADA <hanada(at)metrosystems(dot)co(dot)jp>
To: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: CommitFest 2011-01 as of 2011-02-04
Date: 2011-02-18 04:15:29
Message-ID: 20110218131528.AEDF.6989961C@metrosystems.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 16 Feb 2011 11:22:04 +0900
Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com> wrote:
> Thanks comments. I've applied the COPY API patch.

When I've used COPY TO for testing file_fdw, I got wrong result.
# Actually csv_branches has only 10 rows.

postgres=# copy (select * from csv_branches) to '/home/hanada/DB/BINARY/branches.bin' with binary;
COPY 9187201950435737481

It would be because DR_copy's processed is not initialized in
CreateCopyDestReceiver(). Please see attached patch.

Regards,
--
Shigeru Hanada

Attachment Content-Type Size
20110218_initialize_processed.patch application/octet-stream 364 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Itagaki Takahiro 2011-02-18 05:16:21 Re: Transaction-scope advisory locks
Previous Message Tom Lane 2011-02-18 03:45:29 Re: Initial review of xslt with no limits patch