Re: surppressing column names in COPY format - Mailing list pgsql-general

From Tom Lane
Subject Re: surppressing column names in COPY format
Date
Msg-id 18929.1059684637@sss.pgh.pa.us
Whole thread Raw
In response to Re: surppressing column names in COPY format  (Robert Treat <xzilla@users.sourceforge.net>)
Responses Re: surppressing column names in COPY format  (Robert Treat <xzilla@users.sourceforge.net>)
List pgsql-general
Robert Treat <xzilla@users.sourceforge.net> writes:
> On Thu, 2003-07-31 at 15:18, Tom Lane wrote:
>> I don't really agree that we've "lost functionality" here, though ---
>> you might as well claim that it's a bug that the COPY command forces
>> you to restore the data into a particular table.

> By that logic then what is the point of allowing data dumped as INSERTS
> both with and without column names?

None; we just haven't gotten around to removing code that no longer
pulls its weight.  The no-column-name variant is just as dangerous as
it was in the COPY case, IMHO.

            regards, tom lane

pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: surppressing column names in COPY format
Next
From: Robert Treat
Date:
Subject: Re: surppressing column names in COPY format