summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-05-22 21:40:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-05-22 21:40:55 +0000
commita2597ef17958e75e7ba26507dc407249cc9e7134 (patch)
treeb183395473fde3961ed029a4c82f384e2a392d4d /src/backend/access/gist/gist.c
parentb8ffc9960235afec9f0a81fc15665514241c2a75 (diff)
downloadpostgresql-a2597ef17958e75e7ba26507dc407249cc9e7134.tar.gz
Modify sequence state storage to eliminate dangling-pointer problem
exemplified by bug #671. Moving the storage to relcache turned out to be a bad idea because relcache might decide to discard the info. Instead, open and close the relcache entry on each sequence operation, and use a record of the current XID to discover whether we already hold AccessShareLock on the sequence.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions