Re: COPY improvements

From: nconway(at)klamath(dot)dyndns(dot)org (Neil Conway)
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: COPY improvements
Date: 2002-07-26 01:17:23
Message-ID: 20020726011723.GB25060@klamath.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Thu, Jul 25, 2002 at 04:25:35PM -0400, Neil Conway wrote:
> The attached patch completes the following TODO item:
>
> * Generate failure on short COPY lines rather than pad NULLs

I've attached an improved patch. This patch fixes a regression test
failure in the previous patch, updates the documentation for the
new behavior of COPY, and makes the handling of COPY TO/FROM
WITH OIDS into a table without OIDs more consistent (plus regression
tests for the same).

I'm not sure if the "bail out if we encounter extra data" check
is too strict -- any comments?

Cheers,

Neil

--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC

Attachment Content-Type Size
copy-cleanup-4.patch text/plain 33.0 KB

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Rod Taylor 2002-07-26 01:45:01 GET DIAGNOSTICS example
Previous Message Neil Conway 2002-07-25 21:00:24 Re: [PATCHES] prepareable statements