diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-01-02 03:10:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-01-02 03:10:34 +0000 |
commit | 65d1c2dc336130cd0f633ebd07436afd57992c3a (patch) | |
tree | 7da4c62f62fcf22a9ae110e019d349c2a682e91d /src/backend/utils/adt/ruleutils.c | |
parent | e7de331eb5f22c3b3b84976a833f69b435dc7fcc (diff) | |
download | postgresql-65d1c2dc336130cd0f633ebd07436afd57992c3a.tar.gz postgresql-65d1c2dc336130cd0f633ebd07436afd57992c3a.zip |
Fix plpython's overoptimistic caching of information about the rowtype of
a trigger's target table. The rowtype could change from one call to the
next, so cope in such cases, while avoiding doing repetitive catalog lookups.
Per bug #3847 from Mark Reid.
Backpatch to 8.2.x. Likely this fix should go further back, but I can't test
it because I no longer have a machine with a pre-2.5 Python installation.
(Maybe we should rethink that idea about not supporting Python 2.5 in the
older branches.)
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions