Add regression tests for CSV and \., and add automatic quoting of a

Bruce Momjian <bruce@momjian.us>

Commit: c7fc2ccf63f054ac60bde739077fbcfb5f86de69
Author: Bruce Momjian <bruce@momjian.us>
Date: 2005-12-28T05:38:27Z
Releases: 8.1.2
Add regression tests for CSV and \., and add automatic quoting of a
single column dump that has a \. value, so the load works properly.  I
also added documentation describing this issue.

Backpatch to 8.1.X.

Files

PathChange+/−
doc/src/sgml/ref/copy.sgml modified +22 −11
src/backend/commands/copy.c modified +26 −14
src/test/regress/expected/copy2.out modified +3 −0
src/test/regress/sql/copy2.sql modified +10 −0