aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb_util.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-03-26 18:04:57 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-03-26 18:17:53 +0200
commitc2a6724823c14fd442c5441eb169b2581781fef0 (patch)
tree203a1dd4a8d59eee0db2057846a357e8f65d7764 /src/backend/utils/adt/jsonb_util.c
parentb69c4e65bea92ef617581365c365d2f43aa9e1fa (diff)
downloadpostgresql-c2a6724823c14fd442c5441eb169b2581781fef0.tar.gz
postgresql-c2a6724823c14fd442c5441eb169b2581781fef0.zip
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.
Diffstat (limited to 'src/backend/utils/adt/jsonb_util.c')
0 files changed, 0 insertions, 0 deletions