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