postgresql/src/backend
Tom Lane 1346f40b58 Fix regexp_matches() handling of zero-length matches.
We'd find the same match twice if it was of zero length and not immediately
adjacent to the previous match.  replace_text_regexp() got similar cases
right, so adjust this search logic to match that.  Note that even though
the regexp_split_to_xxx() functions share this code, they did not display
equivalent misbehavior, because the second match would be considered
degenerate and ignored.

Jeevan Chalke, with some cosmetic changes by me.
2013-07-31 11:31:33 -04:00
..
access Ensure no xid gaps during Hot Standby startup 2013-06-23 14:50:17 +01:00
bootstrap Capitalization fixes 2011-06-19 00:39:19 +03:00
catalog Remove ALTER DEFAULT PRIVILEGES' requirement of schema CREATE permissions. 2013-06-09 15:26:55 -04:00
commands Restore REINDEX constraint validation. 2013-07-30 19:41:53 -04:00
executor Fix race condition in DELETE RETURNING. 2013-03-10 19:18:49 -04:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:36:53 -04:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Produce a more useful error message for over-length Unix socket paths. 2012-11-29 19:57:17 -05:00
main Fix insecure parsing of server command-line switches. 2013-04-01 14:01:04 -04:00
nodes Fix planning of non-strict equivalence clauses above outer joins. 2012-10-18 12:29:00 -04:00
optimizer Change post-rewriter representation of dropped columns in joinaliasvars. 2013-07-23 16:23:11 -04:00
parser Change post-rewriter representation of dropped columns in joinaliasvars. 2013-07-23 16:23:11 -04:00
po Translation updates 2013-03-31 16:41:13 -03:00
port Split up process latch initialization for more-fail-soft behavior. 2012-10-14 23:00:07 -04:00
postmaster Fix insecure parsing of server command-line switches. 2013-04-01 14:01:04 -04:00
regex Fix regex match failures for backrefs combined with non-greedy quantifiers. 2013-07-18 21:22:53 -04:00
replication Support clean switchover. 2013-06-26 02:20:11 +09:00
rewrite Change post-rewriter representation of dropped columns in joinaliasvars. 2013-07-23 16:23:11 -04:00
snowball Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
storage Ensure no xid gaps during Hot Standby startup 2013-06-23 14:50:17 +01:00
tcop Only install a portal's ResourceOwner if it actually has one. 2013-06-13 13:11:40 -04:00
tsearch Fix logical errors in tsquery selectivity estimation for prefix queries. 2012-09-11 21:23:49 -04:00
utils Fix regexp_matches() handling of zero-length matches. 2013-07-31 11:31:33 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
Makefile Fix PGXS support for building loadable modules on AIX. 2012-10-09 21:04:15 -04:00
nls.mk Translation updates 2013-02-03 23:58:38 -05:00