pgsql: Fix inappropriate error messages for Hot Standby misconfiguratio

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix inappropriate error messages for Hot Standby misconfiguratio
Дата
Msg-id E1T9RDx-00049V-E0@gemulon.postgresql.org
обсуждение исходный текст
Список 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_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/987277f402a31ba91ea647d115785e5a4f7850fa

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix inappropriate error messages for Hot Standby misconfiguratio
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix inappropriate error messages for Hot Standby misconfiguratio