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-0001au-I7@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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/49b04188f83fb8cacf925978989bc20399e76786

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

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