aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-08-12 18:23:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-08-12 18:23:55 +0000
commit3dc494f0a334e71c5e88cf803316cf739cf6fe44 (patch)
tree2c4cd7b52f5c5129fab4453ca566b5228a4bdfa4 /src/backend/access/gist/gistget.c
parentf85de25433023b023a1632e8269713aee4f78600 (diff)
downloadpostgresql-3dc494f0a334e71c5e88cf803316cf739cf6fe44.tar.gz
postgresql-3dc494f0a334e71c5e88cf803316cf739cf6fe44.zip
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/gistget.c')
0 files changed, 0 insertions, 0 deletions