pgsql: Fix a race condition that caused pg_database_size() and

Поиск
Список
Период
Сортировка
От alvherre@postgresql.org (Alvaro Herrera)
Тема pgsql: Fix a race condition that caused pg_database_size() and
Дата
Msg-id 20070311064323.4825C9FB790@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        dbsize.c (r1.7 -> r1.7.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/dbsize.c.diff?r1=1.7&r2=1.7.2.1)

В списке pgsql-committers по дате отправления:

Предыдущее
От: eggyknap@pgfoundry.org (User Eggyknap)
Дата:
Сообщение: pgsnmpd - pgsnmpd: * Comment out bunches of the old MIB in pgsnmpd.c.
Следующее
От: alvherre@postgresql.org (Alvaro Herrera)
Дата:
Сообщение: pgsql: Fix a race condition that caused pg_database_size() and