pgsql: Fix thinko in re-setting wal_log_hints flag from a parameter-cha

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix thinko in re-setting wal_log_hints flag from a parameter-cha
Date: 2015-01-15 18:56:56
Message-ID: E1YBpbE-0001av-IC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix thinko in re-setting wal_log_hints flag from a parameter-change record.

The flag is supposed to be copied from the record. Same issue with
track_commit_timestamps, but that's master-only.

Report and fix by Petr Jalinek. Backpatch to 9.4, where wal_log_hints was
added.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b337d9657b4dbb72cfbb1012c15a01c5c74ff533

Modified Files
--------------
src/backend/access/transam/xlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-01-15 23:53:18 pgsql: Fix use-of-already-freed-memory problem in EvalPlanQual processi
Previous Message Tom Lane 2015-01-15 18:39:38 pgsql: Rearrange explain.c's API so callers need not embed sizeof(Expla