pgsql: Fix inappropriate error messages for Hot Standby misconfiguratio

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix inappropriate error messages for Hot Standby misconfiguratio
Date: 2012-09-06 01:49:41
Message-ID: E1T9RDx-00049R-BP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/308d4ec4c677a2ced29b82dde811b1cbba8c3201

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

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2012-09-06 01:58:43 pgsql: Fix WAL file replacement during cascading replication on Windows
Previous Message Tom Lane 2012-09-06 01:28:39 pgsql: Make one last copy-editing pass over the 9.2 release notes.