aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-03-07 11:51:03 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-03-07 11:51:03 -0500
commita7b61d4f5af37344f8973b2dfce47e2ba2680061 (patch)
tree0af6a1de63f305d5d5b1830369692d422d3a2c57 /contrib/postgres_fdw
parent7ccefe8610db8b339bad2c5b51abc07448a32947 (diff)
downloadpostgresql-a7b61d4f5af37344f8973b2dfce47e2ba2680061.tar.gz
postgresql-a7b61d4f5af37344f8973b2dfce47e2ba2680061.zip
Fix infinite-loop risk in fixempties() stage of regex compilation.
The previous coding of this function could get into situations where it would never terminate, because successive passes would re-add EMPTY arcs that had been removed by the previous pass. Rewrite the function completely using a new algorithm that is guaranteed to terminate, and also seems to be usually faster than the old one. Per Tcl bugs 3604074 and 3606683. Tom Lane and Don Porter
Diffstat (limited to 'contrib/postgres_fdw')
0 files changed, 0 insertions, 0 deletions