[COMMITTERS] pgsql: Fix detection of unfinished Unicode surrogate pair at end of str

2016-12-21 Thread Tom Lane
Fix detection of unfinished Unicode surrogate pair at end of string. The U&'...' and U&"..." syntaxes silently discarded a surrogate pair start (that is, a code between U+D800 and U+DBFF) if it occurred at the very end of the string. This seems like an obvious oversight, since we throw an error f

[COMMITTERS] pgsql: Fix detection of unfinished Unicode surrogate pair at end of str

2016-12-21 Thread Tom Lane
Fix detection of unfinished Unicode surrogate pair at end of string. The U&'...' and U&"..." syntaxes silently discarded a surrogate pair start (that is, a code between U+D800 and U+DBFF) if it occurred at the very end of the string. This seems like an obvious oversight, since we throw an error f

[COMMITTERS] pgsql: Fix detection of unfinished Unicode surrogate pair at end of str

2016-12-21 Thread Tom Lane
Fix detection of unfinished Unicode surrogate pair at end of string. The U&'...' and U&"..." syntaxes silently discarded a surrogate pair start (that is, a code between U+D800 and U+DBFF) if it occurred at the very end of the string. This seems like an obvious oversight, since we throw an error f

[COMMITTERS] pgsql: Fix detection of unfinished Unicode surrogate pair at end of str

2016-12-21 Thread Tom Lane
Fix detection of unfinished Unicode surrogate pair at end of string. The U&'...' and U&"..." syntaxes silently discarded a surrogate pair start (that is, a code between U+D800 and U+DBFF) if it occurred at the very end of the string. This seems like an obvious oversight, since we throw an error f

[COMMITTERS] pgsql: Fix detection of unfinished Unicode surrogate pair at end of str

2016-12-21 Thread Tom Lane
Fix detection of unfinished Unicode surrogate pair at end of string. The U&'...' and U&"..." syntaxes silently discarded a surrogate pair start (that is, a code between U+D800 and U+DBFF) if it occurred at the very end of the string. This seems like an obvious oversight, since we throw an error f

[COMMITTERS] pgsql: Fix detection of unfinished Unicode surrogate pair at end of str

2016-12-21 Thread Tom Lane
Fix detection of unfinished Unicode surrogate pair at end of string. The U&'...' and U&"..." syntaxes silently discarded a surrogate pair start (that is, a code between U+D800 and U+DBFF) if it occurred at the very end of the string. This seems like an obvious oversight, since we throw an error f