• Tom Lane's avatar
    Revert COPY OUT to follow the pre-8.3 handling of ASCII control characters, · a63b63ff
    Tom Lane authored
    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.
    a63b63ff
copy.c 93.3 KB