]> 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:08 +0000 (21:49 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Sep 2012 01:49:08 +0000 (21:49 -0400)
commit2e0cc1f031387fc304d11e55df0f9566d91698ff
tree872ceb1ed84f4e394d217c2cb6355004fac37ff8
parent185b744ee6115537e005b3d0d5e642c2146a12c1
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