postgresql/src/backend
Heikki Linnakangas c2a6724823 Pass more than the first XLogRecData entry to rm_desc, with WAL_DEBUG.
If you compile with WAL_DEBUG and enable it with wal_debug=on, we used to
only pass the first XLogRecData entry to the rm_desc routine. I think the
original assumprion was that the first XLogRecData entry contains all the
necessary information for the rm_desc routine, but that's a pretty shaky
assumption. At least standby_redo didn't get the memo.

To fix, piece together all the data in a temporary buffer, and pass that to
the rm_desc routine.

It's been like this forever, but the patch didn't apply cleanly to
back-branches. Probably wouldn't be hard to fix the conflicts, but it's
not worth the trouble.
2014-03-26 18:17:53 +02:00
..
access Pass more than the first XLogRecData entry to rm_desc, with WAL_DEBUG. 2014-03-26 18:17:53 +02:00
bootstrap Avoid repeated name lookups during table and index DDL. 2014-02-17 09:33:31 -05:00
catalog Cleanup around json_to_record/json_to_recordset 2014-03-26 10:18:24 -04:00
commands Offer triggers on foreign tables. 2014-03-23 02:16:34 -04:00
executor Offer triggers on foreign tables. 2014-03-23 02:16:34 -04:00
foreign Update copyright for 2014 2014-01-07 16:05:30 -05:00
lib Fix typos in comments. 2014-03-17 20:47:28 +09:00
libpq Cleanups from the remove-native-krb5 patch 2014-03-16 15:22:45 +01:00
main C comments: remove odd blank lines after #ifdef WIN32 lines 2014-03-13 01:34:42 -04:00
nodes Avoid repeated name lookups during table and index DDL. 2014-02-17 09:33:31 -05:00
optimizer Again fix initialization of auto-tuned effective_cache_size. 2014-03-20 12:58:30 -04:00
parser Provide a FORCE NULL option to COPY in CSV mode. 2014-03-04 17:31:59 -05:00
po Translation updates 2013-12-02 00:17:07 -05:00
port Rename huge_tlb_pages to huge_pages, and improve docs. 2014-03-03 20:52:48 +02:00
postmaster Make it easy to detach completely from shared memory. 2014-03-18 07:58:53 -04:00
regex Fix memory leak during regular expression execution. 2014-03-19 11:09:24 -04:00
replication Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
rewrite Offer triggers on foreign tables. 2014-03-23 02:16:34 -04:00
snowball Prefer pg_any_to_server/pg_server_to_any over pg_do_encoding_conversion. 2014-02-23 16:59:05 -05:00
storage Fix build with LWLOCK_STATS or dtrace. 2014-03-21 23:26:34 +01:00
tcop Introduce logical decoding. 2014-03-03 16:32:18 -05:00
tsearch Avoid memcpy() with same source and destination address. 2014-03-07 13:14:33 +02:00
utils Cleanup around json_to_record/json_to_recordset 2014-03-26 10:18:24 -04: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