• T
    Fix a many-legged critter reported by chifungfan@yahoo.com: under the · 0147b193
    Tom Lane 提交于
    right circumstances a hash join executed as a DECLARE CURSOR/FETCH
    query would crash the backend.  Problem as seen in current sources was
    that the hash tables were stored in a context that was a child of
    TransactionCommandContext, which got zapped at completion of the FETCH
    command --- but cursor cleanup executed at COMMIT expected the tables
    to still be valid.  I haven't chased down the details as seen in 7.0.*
    but I'm sure it's the same general problem.
    0147b193
pquery.c 7.1 KB