"Phillip Smith" <phillip.smith@xxxxxxxxxxxxxxxxxxx> writes: > But I get a whole bunch of errors, for example: > <snip> > ERROR: syntax error at or near "all" > LINE 1: all orders over $400.00 - freight free Order 10 of any produ... > ^ Please show us the *first* few errors, not some randomly chosen ones. The above looks like a COPY has failed and psql has started thinking that copy-data lines are commands, but how or why that happened is not in evidence. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly