aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-04-20 17:50:18 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-04-20 17:50:18 +0000
commitefe222268f39989b19b74d971becc19215b357d6 (patch)
treed6d0281745746d2fbd15f4b9ecbe4e6386ba89b8 /src/backend/regex/regexec.c
parentea6d54ee06428e610af62d11fcd4bcd34f9c4514 (diff)
downloadpostgresql-efe222268f39989b19b74d971becc19215b357d6.tar.gz
postgresql-efe222268f39989b19b74d971becc19215b357d6.zip
Eliminate some no-longer-needed workarounds for palloc's old behavior
of rejecting palloc(0). Also, tweak like_selectivity() to avoid assuming the presented pattern is nonempty; although that assumption is valid, it doesn't really help much, and the new coding is more correct anyway since it properly handles redundant wildcards. In combination these changes should eliminate a Coverity warning noted by Martijn.
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions