aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-01-25 16:58:55 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-01-25 16:59:36 -0500
commit08be00fabebfa5efb843c9464d994891d80121f5 (patch)
tree6a0716181c814d904b927cecc5c0f84d4e7feb55 /src/backend/utils/adt/xml.c
parentbb1e504951bbdb1931365b1c6d1b4e5f3a3043d1 (diff)
downloadpostgresql-08be00fabebfa5efb843c9464d994891d80121f5.tar.gz
postgresql-08be00fabebfa5efb843c9464d994891d80121f5.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/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions