diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2007-03-11 05:22:00 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2007-03-11 05:22:00 +0000 |
commit | 576027bb3f6b9793478914305dbe12270bc31a8b (patch) | |
tree | cbd4e92097783cfc537bc0a63ab09ce7641c1ffd /src/backend/tcop/postgres.c | |
parent | 5acde74e1a2d934d825f1f538de4a4f267b839c1 (diff) | |
download | postgresql-576027bb3f6b9793478914305dbe12270bc31a8b.tar.gz postgresql-576027bb3f6b9793478914305dbe12270bc31a8b.zip |
Fix a race condition that caused pg_database_size() and pg_tablespace_size()
to fail if an object was removed between calls to ReadDir() and stat().
Per discussion in pgsql-hackers.
http://archives.postgresql.org/pgsql-hackers/2007-03/msg00671.php
Bug report and patch by Michael Fuhr.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions