pgsql: Fix inappropriate error messages for Hot Standby misconfiguratio - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix inappropriate error messages for Hot Standby misconfiguratio
Date
Msg-id E1T9RDx-00049T-CK@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/18730f8d4739468d668322f5ca0a0d6022df6fe6

Modified Files
--------------
src/backend/access/transam/xlog.c |    9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix inappropriate error messages for Hot Standby misconfiguratio
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix WAL file replacement during cascading replication on Windows