Hugo <htakada@xxxxxxxxx> writes: > ERROR: could not open file "c:file.csv" for reading: No such file or > directory > CONTEXT: SQL statement "copy comisiones.avon( > zona,ano,campana,fechapro,contrato,situacion,documento,tipo,subtipo,exentas= > ,gravadas,iva,importe > ) from 'c:\file.csv' with CSV" Looks like you need to double that backslash ... or use a forward slash. regards, tom lane ---------------------------(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