postgresql/src/backend
Heikki Linnakangas f8f4227976 Refactor per-page logic common to all redo routines to a new function.
Every redo routine uses the same idiom to determine what to do to a page:
check if there's a backup block for it, and if not read, the buffer if the
block exists, and check its LSN. Refactor that into a common function,
XLogReadBufferForRedo, making all the redo routines shorter and more
readable.

This has no user-visible effect, and makes no changes to the WAL format.

Reviewed by Andres Freund, Alvaro Herrera, Michael Paquier.
2014-09-02 15:10:28 +03:00
..
access Refactor per-page logic common to all redo routines to a new function. 2014-09-02 15:10:28 +03:00
bootstrap Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:21:01 -04:00
catalog pg_upgrade: prevent automatic oid assignment 2014-08-25 22:19:05 -04:00
commands Assorted message improvements 2014-08-29 00:26:17 -04:00
executor Fix FOR UPDATE NOWAIT on updated tuple chains 2014-08-27 19:15:18 -04:00
foreign Implement IMPORT FOREIGN SCHEMA. 2014-07-10 15:01:43 -04:00
lib pgindent run for 9.4 2014-05-06 12:12:18 -04:00
libpq Reorganize functions in be-secure-openssl.c 2014-08-18 13:12:40 +03:00
main Remove Alpha and Tru64 support. 2014-06-28 21:46:15 +02:00
nodes Implement IF NOT EXISTS for CREATE SEQUENCE. 2014-08-26 16:18:17 +03:00
optimizer Fix Var handling for security barrier views 2014-08-26 23:08:41 -04:00
parser Support ALTER SYSTEM RESET command. 2014-09-02 16:06:58 +09:00
po Translation updates 2014-07-21 01:08:04 -04:00
port Assorted message improvements 2014-08-29 00:26:17 -04:00
postmaster Allow escaping of option values for options passed at connection start. 2014-08-28 13:59:29 +02:00
regex Fix two low-probability memory leaks in regular expression parsing. 2014-07-18 13:00:27 -04:00
replication Fix s/pluggins/plugins/ typo in two comments. 2014-09-01 12:01:29 +02:00
rewrite Assorted message improvements 2014-08-29 00:26:17 -04:00
snowball Finish adding file version information to installed Windows binaries. 2014-08-18 22:59:53 -04:00
storage Declare lwlock.c's LWLockAcquireCommon() as a static inline. 2014-09-01 00:16:55 +02:00
tcop Rework 'MOVE ALL' to 'ALTER .. ALL IN TABLESPACE' 2014-08-21 19:06:17 -04:00
tsearch pgindent run for 9.4 2014-05-06 12:12:18 -04:00
utils Support ALTER SYSTEM RESET command. 2014-09-02 16:06:58 +09:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
Makefile Get rid of use of dlltool in Mingw builds. 2014-02-11 12:56:20 -05:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Add libpgcommon to backend gettext source files 2013-10-19 13:49:05 -04:00