Filter:

Commits on December 27, 2007

Commits3 commits
0Author
3Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterDisallow digits and lower-case ASCII letters as the delimiter in non-CSV COPY. We need a restriction here because when the delimiter occurs as a data character, it is emitted with a backslash, and that will only work as desired if CopyReadAttributesText() will interpret the backslash sequence as representing the second character literally. This is currently untrue for 'b', 'f', 'n', 'r', 't', 'v', 'x', and octal digits. For future-proofing and simplicity of explanation, it seems best to disallow a-z and 0-9. We must also disallow dot, since "\." by itself would look like copy EOF. Note: "\N" is by default the null print string, so N would also cause a problem, but that is already tested for.
2e4cb708
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more
No linked threadDec 27, 2007
CommitterFix ill-advised usage of x?y:z expressions in errmsg() and errhint() calls. This prevented gettext from recognizing the strings that need to be translated.
f1d1ca9a
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more
No linked threadDec 27, 2007
CommitterSwap the order of testing for control characters and for column delimiter in CopyAttributeOutText(), so that control characters are converted to the C-style escape sequences even if they happen to be equal to the column delimiter (as is true by default for tab, for example). Oversight in my previous patch to restore pre-8.3 behavior of COPY OUT escaping. Per report from Tomas Szepe.
16adaf1b
master8.3rc1REL_19_STABLE8.3rc1REL_18_STABLE8.3rc1REL_17_STABLE8.3rc1REL_16_STABLE8.3rc1REL_15_STABLE8.3rc1REL_14_STABLE8.3rc1REL_13_STABLE8.3rc1+17 more
No linked threadDec 27, 2007