pgsql: Fix variable confusion in BufferSync().

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Fix variable confusion in BufferSync().
Дата
Msg-id E1Rj9y7-0007wv-Ee@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix variable confusion in BufferSync().

As noted by Heikki Linnakangas, the previous coding confused the "flags"
variable with the "mask" variable.  The affect of this appears to be that
unlogged buffers would get written out at every checkpoint rather than
only at shutdown time.  Although that's arguably an acceptable failure
mode, I'm back-patching this change, since it seems like a poor idea to
rely on this happening to work.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7e4911b2ae33acff7b85234b91372133ec6df9d4

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix variable confusion in BufferSync().
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix pg_restore's direct-to-database mode for INSERT-style table