diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-12 18:23:49 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-12 18:23:49 +0000 |
commit | a1f0c9bab99edc6029dee3bf702348aa7eab0099 (patch) | |
tree | a002907b1841f3daddf2c296b967a16ec5f3f162 /src/backend/executor/nodeFunctionscan.c | |
parent | 9d9848668fd868a4e51f3a3f22c2807ff0e46582 (diff) | |
download | postgresql-a1f0c9bab99edc6029dee3bf702348aa7eab0099.tar.gz postgresql-a1f0c9bab99edc6029dee3bf702348aa7eab0099.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/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions