]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix inappropriate error messages for Hot Standby misconfiguration errors.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Sep 2012 01:49:14 +0000 (21:49 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Sep 2012 01:49:14 +0000 (21:49 -0400)
commit18730f8d4739468d668322f5ca0a0d6022df6fe6
treede44485456d09040421611212591b66de10a07f1
parent26f4fc01849b23d0541722d7cfdbd08739f81e1c
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