Fix inappropriate error messages for Hot Standby misconfiguration errors.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 308d4ec4c677a2ced29b82dde811b1cbba8c3201
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-09-06T01:49:11Z
Releases: 9.2.0
Fix inappropriate error messages for Hot Standby misconfiguration errors.

Give the correct name of the GUC parameter being complained of.
Also, emit a more suitable SQLSTATE (INVALID_PARAMETER_VALUE,
not the default INTERNAL_ERROR).

Gurjeet Singh, errcode adjustment by me

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +5 −4