Skip site navigation (1) Skip section navigation (2)

pgsql: Fix inappropriate error messages for Hot Standbymisconfiguratio

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 Standbymisconfiguratio
Date: 2012-09-06 01:49:41
Message-ID: E1T9RDx-00049P-B2@gemulon.postgresql.org (view raw or flat)
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2e0cc1f031387fc304d11e55df0f9566d91698ff

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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group