Re: COPY manual is ambiguous about column list - Mailing list pgsql-docs

From Tom Lane
Subject Re: COPY manual is ambiguous about column list
Date
Msg-id 12751.1576817197@sss.pgh.pa.us
Whole thread Raw
In response to Re: COPY manual is ambiguous about column list  (Bruce Momjian <bruce@momjian.us>)
Responses Re: COPY manual is ambiguous about column list  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-docs
Bruce Momjian <bruce@momjian.us> writes:
> How is the attached patch?

!    In <command>COPY FROM</command>, the number of columns specified
!    must match the number of fields in the file;  any table columns not
!    specified in the <command>COPY FROM</command> column list will insert
!    their default values.

Phrasing seems a bit weird to me: you've run two nearly independent
observations into one sentence.  But s/; any/. Any/ might be enough
to fix it.

            regards, tom lane



pgsql-docs by date:

Previous
From: Jeff Janes
Date:
Subject: Re: document effect of USAGE on foreign server to dblink
Next
From: "David G. Johnston"
Date:
Subject: Re: COPY manual is ambiguous about column list