aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-01-25 04:46:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-01-25 04:46:07 +0000
commit353a1cca9f9bc1aea895627087e77807a83915e8 (patch)
treee84cb9c4046371b5cfd00445f6c125a46a9dd3bf /src/backend/tcop/postgres.c
parent79a323ab49138c119231609554ae5aa7f6285d38 (diff)
downloadpostgresql-353a1cca9f9bc1aea895627087e77807a83915e8.tar.gz
postgresql-353a1cca9f9bc1aea895627087e77807a83915e8.zip
Release any detoasted copies of arrays that are made temporarily in
ri_FetchConstraintInfo, to avoid a query-duration memory leak when that routine is called by RI_FKey_keyequal_upd_fk (which isn't executed in a short-lived context). This problem was latent when the routine was added in February, but it didn't become serious until the varvarlena patch made it quite likely that the fields being examined would be "toasted" (ie, have short headers). Per report from Stephen Denne.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions