Repair problems with the result of lookup_rowtype_tupdesc() possibly being
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 17 Jan 2006 17:33:37 +0000 (17:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 17 Jan 2006 17:33:37 +0000 (17:33 +0000)
commit41e09bbbad3a3506f7491d141208d68fa1d2488e
treef7c10d5413f6fe369208fe47dc509d723dce84af
parentc4001fee8f3b4f6da26f0c572a1bcb3a5343e93a
Repair problems with the result of lookup_rowtype_tupdesc() possibly being
discarded by cache flush while still in use.  This is a minimal patch that
just copies the tupdesc anywhere it could be needed across a flush.  Applied
to back branches only; Neil Conway is working on a better long-term solution
for HEAD.
src/backend/access/heap/tuptoaster.c
src/backend/parser/parse_coerce.c
src/backend/parser/parse_target.c
src/backend/utils/adt/rowtypes.c
src/backend/utils/adt/ruleutils.c
src/backend/utils/cache/typcache.c
src/pl/plperl/plperl.c
src/pl/plpgsql/src/pl_exec.c
src/pl/plpython/plpython.c
src/pl/tcl/pltcl.c