pgsql: Fix minor bug in XLogFileRead() that accidentally worked.

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Fix minor bug in XLogFileRead() that accidentally worked.
Дата
Msg-id E1SzCsM-0000NS-Mf@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix minor bug in XLogFileRead() that accidentally worked.
Cascading replication copied the incoming file into pg_xlog but
didn't set path correctly, so the first attempt to open file failed
causing it to loop around and look for file in pg_xlog. So the
earlier coding worked, but accidentally rather than by design.

Spotted by Fujii Masao, fix by Fujii Masao and Simon Riggs

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/df09dbbcaa546350a78ce9f096b872fa3a28cafb

Modified Files
--------------
src/backend/access/transam/xlog.c |    5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Fix minor bug in XLogFileRead() that accidentally worked.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Merge parser's p_relnamespace and p_varnamespace lists into a si