> Right. Instead, specify a column list to the COPY (you are using a PG > version new enough to have column lists in COPY, no?) and it will > execute the default expression for the column(s) not coming from the data > file.
Thanks. (Feeling dumb here.) I am using 8.1, however I haven't read the docs for COPY in a few years, and didn't realize I could specify a column list. RTFM, duh. -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match