postgresql/src
Tom Lane 173e29aa5d Fix the general case of quantified regex back-references.
Cases where a back-reference is part of a larger subexpression that
is quantified have never worked in Spencer's regex engine, because
he used a compile-time transformation that neglected the need to
check the back-reference match in iterations before the last one.
(That was okay for capturing parens, and we still do it if the
regex has *only* capturing parens ... but it's not okay for backrefs.)

To make this work properly, we have to add an "iteration" node type
to the regex engine's vocabulary of sub-regex nodes.  Since this is a
moderately large change with a fair risk of introducing new bugs of its
own, apply to HEAD only, even though it's a fix for a longstanding bug.
2012-02-24 01:41:03 -05:00
..
backend Fix the general case of quantified regex back-references. 2012-02-24 01:41:03 -05:00
bin Convert newlines to spaces in names written in pg_dump comments. 2012-02-23 15:53:09 -05:00
include Fix the general case of quantified regex back-references. 2012-02-24 01:41:03 -05:00
interfaces Remove arbitrary limitation on length of common name in SSL certificates. 2012-02-23 15:48:04 -05:00
makefiles Add pg_upgrade test suite 2011-11-27 22:42:32 +02:00
pl Fix I/O-conversion-related memory leaks in plpgsql. 2012-02-11 18:06:24 -05:00
port Speed up in-memory tuplesorting. 2012-02-15 12:13:32 -05:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Fix the general case of quantified regex back-references. 2012-02-24 01:41:03 -05:00
timezone Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tools Speed up in-memory tuplesorting. 2012-02-15 12:13:32 -05:00
tutorial Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in ecpg: Improve test building 2012-02-02 20:33:29 +02:00
Makefile.shlib Use single quotes in preference to double quotes for protecting pathnames. 2011-06-15 21:45:23 -04:00
nls-global.mk Sort compendium lists for msgmerge 2011-12-27 20:22:51 +02:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00