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@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026