aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-12-03 00:03:05 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-12-03 00:03:05 +0000
commita63b63ff96293e153d25e8e054a830d70f69938a (patch)
treea96b02c91c04908c832fce3d06b6a1d2ebc2f7df /src/backend/tcop/postgres.c
parent3b3251cb95001be2f911e16280fd99e7dd559620 (diff)
downloadpostgresql-a63b63ff96293e153d25e8e054a830d70f69938a.tar.gz
postgresql-a63b63ff96293e153d25e8e054a830d70f69938a.zip
Revert COPY OUT to follow the pre-8.3 handling of ASCII control characters,
namely that \r, \n, \t, \b, \f, \v are dumped as those two-character representations rather than a backslash and the literal control character. I had made it do the other to save some code, but this was ill-advised, because dump files in which these characters appear literally are prone to newline mangling. Fortunately, doing it the old way should only cost a few more lines of code, and not slow down the copy loop materially. Per bug #3795 from Lou Duchez.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions