"Peter Tan" <kaihua@cs.stanford.edu> writes:
> When using the copy command to bulk load data, could I specify the string of
> "end of record", insted of using newline? If the answer is no, is there any
> alternative way?
Make a sed or awk script that changes newlines to backslash-newline,
except for the ones you want to treat as end of record.
regards, tom lane