COPY improvements

From: nconway(at)klamath(dot)dyndns(dot)org (Neil Conway)
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: COPY improvements
Date: 2002-07-25 20:25:35
Message-ID: 20020725202535.GA23592@klamath.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

The attached patch completes the following TODO item:

* Generate failure on short COPY lines rather than pad NULLs

I also restructed a lot of the existing COPY code, did some code
review on the column list patch sent in by Brent Verner a little
while ago, and added some regression tests. I also added an
explicit check (and resultant error) for extra data before
the end-of-line.

Since COPY is pretty important, I think this should be tested
pretty well before we release 7.3.

Cheers,

Neil

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

Attachment Content-Type Size
copy-cleanup-3.patch text/plain 28.9 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2002-07-25 20:54:04 Re: [PATCHES] prepareable statements
Previous Message Hannu Krosing 2002-07-25 17:09:08 Re: why?