summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistsplit.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-08-12 18:24:03 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-08-12 18:24:03 +0000
commit355e7ef476cf39b563713f7ec9e0c89a96dccb0d (patch)
tree60feb6c2829f1c391900cf73c554c3d354d79939 /src/backend/access/gist/gistsplit.c
parent0a427ab0722fa7d04cec2216b2afab3d5c09116e (diff)
Fix old bug in log_autovacuum_min_duration code: it was relying on being able
to access a Relation entry it had just closed. I happened to be testing with CLOBBER_CACHE_ALWAYS, which made this a guaranteed core dump (at least on machines where sprintf %s isn't forgiving of a NULL pointer). It's probably quite unlikely that it would fail in the field, but a bug is a bug. Fix by moving the relation_close call down past the logging action.
Diffstat (limited to 'src/backend/access/gist/gistsplit.c')
0 files changed, 0 insertions, 0 deletions