duplicate columns with COPY - Mailing list pgsql-hackers

From Peter Eisentraut
Subject duplicate columns with COPY
Date
Msg-id 200712201428.30976.peter_e@gmx.net
Whole thread Raw
Responses Re: duplicate columns with COPY  (Andrew Dunstan <andrew@dunslane.net>)
Re: duplicate columns with COPY  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Is there a reason why COPY TO STDOUT does not allow columns to be specified 
more than once?

pei=# copy test1 (a, a) to stdout;
ERROR:  42701: column "a" specified more than once

Or is this just an overly extensive check that is actually intended for COPY 
FROM STDIN?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pgwin32_open returning EINVAL
Next
From: Andrew Dunstan
Date:
Subject: Re: duplicate columns with COPY