pgsql: Fix aboriginal bug in BufFileDumpBuffer that would cause it to

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix aboriginal bug in BufFileDumpBuffer that would cause it to
Дата
Msg-id 20070601234339.5DF479FC4A3@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix aboriginal bug in BufFileDumpBuffer that would cause it to write the
wrong data when dumping a bufferload that crosses a component-file boundary.
This probably has not been seen in the wild because (a) component files are
normally 1GB apiece and (b) non-block-aligned buffer usage is relatively
rare.  But it's fairly easy to reproduce a problem if one reduces RELSEG_SIZE
in a test build.  Kudos to Kurt Harriman for spotting the bug.

Tags:
----
REL7_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/storage/file:
        buffile.c (r1.14 -> r1.14.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/file/buffile.c.diff?r1=1.14&r2=1.14.2.1)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix aboriginal bug in BufFileDumpBuffer that would cause it to
Следующее
От: adunstan@postgresql.org (Andrew Dunstan)
Дата:
Сообщение: pgsql: Improve efficiency of LIKE/ILIKE code, especially for multi-byte