aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-03-07 11:51:08 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-03-07 11:51:08 -0500
commit957b9c0c452ce166957c981c63c9a46fa32f64c1 (patch)
tree96b708c3a8a5d00ad85f5bb4c060015652974ce3 /src/backend/executor/nodeModifyTable.c
parent51616dcda47a416ef3169dc3d1f3ca199d7a4a5d (diff)
downloadpostgresql-957b9c0c452ce166957c981c63c9a46fa32f64c1.tar.gz
postgresql-957b9c0c452ce166957c981c63c9a46fa32f64c1.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 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions