postgresql/src/backend
Tom Lane a8a46d846c Fix length checking for Unicode identifiers containing escapes (U&"...").
We used the length of the input string, not the de-escaped string, as
the trigger for NAMEDATALEN truncation.  AFAICS this would only result
in sometimes printing a phony truncation warning; but it's just luck
that there was no worse problem, since we were violating the API spec
for truncate_identifier().  Per bug #9204 from Joshua Yanovski.

This has been wrong since the Unicode-identifier support was added,
so back-patch to all supported branches.
2014-02-13 14:24:58 -05:00
..
access In XLogReadBufferExtended, don't assume P_NEW yields consecutive pages. 2014-02-12 14:52:32 -05:00
bootstrap Fix possible crashes due to using elog/ereport too early in startup. 2014-01-11 16:35:44 -05:00
catalog Prevent creating window functions with default arguments. 2013-11-06 13:32:36 -05:00
commands Allow SET TABLESPACE to database default 2014-01-18 18:50:47 -05:00
executor Fix "cannot accept a set" error when only some arms of a CASE return a set. 2014-01-08 20:18:24 -05:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:37:03 -04:00
lib Update copyright for 2009. 2009-01-01 17:24:05 +00:00
libpq Clear retry flags properly in replacement OpenSSL sock_write function. 2013-12-05 12:48:44 -05:00
main Fix possible crashes due to using elog/ereport too early in startup. 2014-01-11 16:35:44 -05:00
nodes Fix incorrect loop counts in tidbitmap.c. 2013-11-15 18:34:39 -05:00
optimizer Fix possible crash with nested SubLinks. 2013-12-10 16:10:36 -05:00
parser Fix length checking for Unicode identifiers containing escapes (U&"..."). 2014-02-13 14:24:58 -05:00
po Translation updates 2013-12-02 00:04:05 -05:00
port Fix unsafe references to errno within error messaging logic. 2014-01-29 20:04:14 -05:00
postmaster Fix possible crashes due to using elog/ereport too early in startup. 2014-01-11 16:35:44 -05:00
regex Fix regex match failures for backrefs combined with non-greedy quantifiers. 2013-07-18 21:23:04 -04:00
rewrite Change post-rewriter representation of dropped columns in joinaliasvars. 2013-07-23 16:23:19 -04:00
snowball Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
storage Clear MyProc and MyProcSignalState before they become invalid. 2014-01-31 21:41:09 -05:00
tcop Fix possible crashes due to using elog/ereport too early in startup. 2014-01-11 16:35:44 -05:00
tsearch Use memmove() instead of memcpy() for copying overlapping regions. 2014-02-10 10:00:50 +02:00
utils Fix possible crashes due to using elog/ereport too early in startup. 2014-01-11 16:35:44 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
common.mk Code coverage testing with gcov. Documentation is in the regression test 2008-09-05 12:11:18 +00:00
Makefile Fix PGXS support for building loadable modules on AIX. 2012-10-09 21:04:26 -04:00
nls.mk Translation updates 2013-02-03 23:53:08 -05:00