is there a way for COPY FROM to ignore unused columns in CSV?

in other words, if table t1 has columns c1, c2, and if csv has columns c1, c3, 
c2, could I do something like

COPY t1( c1, null, c2 ) FROM 'file.csv'


      

-- 
Sent via pgsql-sql mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to