From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> |
Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: COPY improvements |
Date: | 2002-07-30 16:54:45 |
Message-ID: | 200207301654.g6UGsjj17085@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Neil Conway wrote:
> 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?
If the COPY row has too little data or too much data, you have to abort
the COPY.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-07-30 16:55:45 | Re: remove recipe code |
Previous Message | Bruce Momjian | 2002-07-30 16:54:08 | Re: COPY improvements |