Allocate all page images at once in generic wal interface
authorTeodor Sigaev <teodor@sigaev.ru>
Tue, 17 May 2016 19:09:22 +0000 (22:09 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Tue, 17 May 2016 19:09:22 +0000 (22:09 +0300)
commit7c979c95a3700d0bd34c2831f49a9260d505b0f9
treef0c2a1564028f41cc6f4b4db3fb227c941c53004
parentb09cd2e50a69182ef38ad67ac77d06a87236c5b0
Allocate all page images at once in generic wal interface

That reduces number of allocation.

Per gripe from Michael Paquier and Tom Lane suggestion.
src/backend/access/transam/generic_xlog.c