Re: Re: [COMMITTERS] pgsql: Make CheckRequiredParameterValues() depend upon correct
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>, Robert Haas <robertmhaas@gmail.com>, Simon Riggs <simon@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2010-04-28T13:38:42Z
Lists: pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes: > At commit, should I bump catversion, or PG_CONTROL_VERSION, or both? The > patch replaces the unlogged-operation WAL record with a record > containing current parameter values, and it changes pg_control. I'm > guessing both. You *must* bump PG_CONTROL_VERSION because the content of pg_control changed. The correct way to reflect a change in WAL contents is to bump the WAL page magic number. I don't see any change here in either system catalog contents or user table contents, so I see no need to touch catversion. regards, tom lane