postgresql/src/backend/utils/adt
Tom Lane 965a2a191a Fix regexp substring matching (substring(string from pattern)) for the corner
case where there is a match to the pattern overall but the user has specified
a parenthesized subexpression and that subexpression hasn't got a match.
An example is substring('foo' from 'foo(bar)?').  This should return NULL,
since (bar) isn't matched, but it was mistakenly returning the whole-pattern
match instead (ie, 'foo').  Per bug #4044 from Rui Martins.

This has been broken since the beginning; patch in all supported versions.
The old behavior was sufficiently inconsistent that it's impossible to believe
anyone is depending on it.
2008-03-19 02:40:37 +00:00
..
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
acl.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
array_userfuncs.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
arrayfuncs.c Remove long-unused and broken TCL_ARRAYS. 2008-02-29 20:58:33 +00:00
arrayutils.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
ascii.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
bool.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
cash.c Clarify how MONEY trims off trailing thousands separator. 2007-11-24 16:18:48 +00:00
char.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
date.c Replace time_t with pg_time_t (same values, but always int64) in on-disk 2008-02-17 02:09:32 +00:00
datetime.c Reject year zero during datetime input, except when it's a 2-digit year 2008-02-25 23:36:28 +00:00
datum.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
dbsize.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
domains.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
encode.c Fix encode(...bytea..., 'escape') so that it converts all high-bit-set byte 2008-02-26 02:54:08 +00:00
enum.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
float.c Document and enforce that the usable range of setseed() arguments is 2008-03-10 12:39:23 +00:00
format_type.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
formatting.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
genfile.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
geo_ops.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
geo_selfuncs.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
inet_net_ntop.c Fix another passel of include-file breakage. Kris Jurka, Tom Lane 2006-07-14 16:59:19 +00:00
inet_net_pton.c Fix another passel of include-file breakage. Kris Jurka, Tom Lane 2006-07-14 16:59:19 +00:00
int.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
int8.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
like.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
like_match.c Fix unportable usages of tolower(). On signed-char machines, it is necessary 2008-03-01 03:26:35 +00:00
lockfuncs.c lmgr.c:DescribeLockTag was never taught about virtual xids, per Greg Stark. 2008-01-08 23:18:51 +00:00
mac.c Downgrade implicit casts to text to be assignment-only, except for the ones 2007-06-05 21:31:09 +00:00
misc.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
nabstime.c Replace time_t with pg_time_t (same values, but always int64) in on-disk 2008-02-17 02:09:32 +00:00
name.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
network.c pgindent run for 8.3. 2007-11-15 21:14:46 +00:00
numeric.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
numutils.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
oid.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
oracle_compat.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
pg_locale.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
pg_lzcompress.c Improve pglz_decompress() so that it cannot clobber memory beyond the 2008-03-08 01:09:36 +00:00
pgstatfuncs.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
pseudotypes.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
quote.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
regexp.c Fix regexp substring matching (substring(string from pattern)) for the corner 2008-03-19 02:40:37 +00:00
regproc.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
ri_triggers.c Remove unnecessary opening of other relation in RI_FKey_keyequal_upd_pk 2008-02-18 23:00:32 +00:00
rowtypes.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
ruleutils.c A long time ago, Peter pointed out that ruleutils.c didn't dump simple 2008-01-06 01:03:16 +00:00
selfuncs.c Revert thinko introduced into prefix_selectivity() by my recent patch: 2008-03-17 17:13:54 +00:00
tid.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
timestamp.c Replace time_t with pg_time_t (same values, but always int64) in on-disk 2008-02-17 02:09:32 +00:00
tsginidx.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tsgistidx.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tsquery.c Remove unnecessary comma in enum definition ... some C compilers don't 2008-01-08 01:04:08 +00:00
tsquery_cleanup.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tsquery_gist.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tsquery_op.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tsquery_rewrite.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tsquery_util.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tsrank.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tsvector.c Fix unportable coding of new error message, per Kris Jurka. 2008-03-10 12:57:05 +00:00
tsvector_op.c When text search string is too long, in error message report actual and 2008-03-05 15:50:37 +00:00
tsvector_parser.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
txid.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
uuid.c Fix some missed copyright updates. 2008-01-01 20:31:21 +00:00
varbit.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
varchar.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
varlena.c Fix varstr_cmp's special case for UTF8 encoding on Windows so that strings 2008-03-13 18:31:56 +00:00
version.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
xid.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
xml.c Disable the undocumented xmlvalidate() function, which was unintentionally 2008-03-01 02:46:49 +00:00