Обсуждение: pgsql: Fix building with WAL_DEBUG.

Поиск
Список
Период
Сортировка

pgsql: Fix building with WAL_DEBUG.

От
Heikki Linnakangas
Дата:
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(-)