pgsql: Fix building with WAL_DEBUG.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix building with WAL_DEBUG.
Дата
Msg-id E1Xmqn2-00030g-39@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix building with WAL_DEBUG.

Now that the backup blocks are appended to the WAL record in xloginsert.c,
XLogInsert doesn't see them anymore and cannot remove them from the version
reconstructed for xlog_outdesc. This makes running with wal_debug=on more
expensive, as we now make (unnecessary) temporary copies of the backup
blocks, but it doesn't seem worth convoluting the code to keep that
optimization.

Reported by Alvaro Herrera.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7250d8535b11d6443a9b27299e586c3df0654302

Modified Files
--------------
src/backend/access/transam/xlog.c |    5 +----
1 file changed, 1 insertion(+), 4 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Use the sortsupport infrastructure in more cases.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: pgsql: Move the backup-block logic from XLogInsert to a new file, xlogi