aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-01-25 16:59:00 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-01-25 16:59:00 -0500
commit308711afc759fa0f3cc0b40844d4647cead0997f (patch)
tree158f2abcd174851599fe26d8a7afefa8a2cfc2a0 /src/backend/access/gist
parent6d5c62ad992d8bb2ef2a29276dd02c52799b10a1 (diff)
downloadpostgresql-308711afc759fa0f3cc0b40844d4647cead0997f.tar.gz
postgresql-308711afc759fa0f3cc0b40844d4647cead0997f.zip
Fix plpython's handling of functions used as triggers on multiple tables.
plpython tried to use a single cache entry for a trigger function, but it needs a separate cache entry for each table the trigger is applied to, because there is table-dependent data in there. This was done correctly before 9.1, but commit 46211da1b84bc3537e799ee1126098e71c2428e8 broke it by simplifying the lookup key from "function OID and triggered table OID" to "function OID and is-trigger boolean". Go back to using both OIDs as the lookup key. Per bug report from Sandro Santilli. Andres Freund
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions