]> granicus.if.org Git - postgresql/commit
Fix inappropriate error messages for Hot Standby misconfiguration errors.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Sep 2012 01:49:18 +0000 (21:49 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Sep 2012 01:49:18 +0000 (21:49 -0400)
commit987277f402a31ba91ea647d115785e5a4f7850fa
treed0dc13edfe0114699ef81d91434c30605660a4ee
parentf7b13e48375a5a8ea2a8b157622a9310512f4e27
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
src/backend/access/transam/xlog.c