pgsql: Force pg_database updates out to disk immediately after ALTER

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Force pg_database updates out to disk immediately after ALTER
Дата
Msg-id 20041118011427.BA5C53A44D8@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Force pg_database updates out to disk immediately after ALTER DATABASE;
this is to avoid scenarios where incoming backends find no live copies
of a database's row because the only live copy is in an as-yet-unwritten
shared buffer, which they can't see.  Also, use FlushRelationBuffers()
for forcing out pg_database, instead of the much more expensive BufferSync().
There's no need to write out pages belonging to other relations.

Modified Files:
--------------
    pgsql/src/backend/commands:
        dbcommands.c (r1.146 -> r1.147)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c.diff?r1=1.146&r2=1.147)

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: pgsql: Remove ill-considered suppression of gcc warnings in plperl, and
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Back-patch fix for ALTER DATABASE failing to flush pg_database