aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-08-25 18:43:43 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-08-25 18:43:43 +0000
commitfe455ee1d4cc5d400c345f361d4bfbfc1178231c (patch)
tree6f4f30ec26aa4b67612f05af623ad1bcd7a32900 /src/backend/utils/adt/arrayfuncs.c
parentb662311db0b6c36dbb637cd7e1c3e42638b5104a (diff)
downloadpostgresql-fe455ee1d4cc5d400c345f361d4bfbfc1178231c.tar.gz
postgresql-fe455ee1d4cc5d400c345f361d4bfbfc1178231c.zip
Revise ResourceOwner code to avoid accumulating ResourceOwner objects
for every command executed within a transaction. For long transactions this was a significant memory leak. Instead, we can delete a portal's or subtransaction's ResourceOwner immediately, if we physically transfer the information about its locks up to the parent owner. This does not fully solve the leak problem; we need to do something about counting multiple acquisitions of the same lock in order to fix it. But it's a necessary step along the way.
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions