1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-22 02:52:08 +03:00

improve hash creation warning message

This improves the wording of commit 84aa8ba128.

Report by Kevin Grittner
This commit is contained in:
Bruce Momjian
2014-09-11 13:40:06 -04:00
parent 68e66923ff
commit 849462a9fa
6 changed files with 9 additions and 9 deletions

View File

@ -491,7 +491,7 @@ DefineIndex(Oid relationId,
if (strcmp(accessMethodName, "hash") == 0)
ereport(WARNING,
(errmsg("hash indexes are not WAL-logged so they are not crash-safe and cannot be used on streaming standbys")));
(errmsg("hash indexes are not WAL-logged and thus are not crash-safe and cannot be used on standby servers")));
if (stmt->unique && !accessMethodForm->amcanunique)
ereport(ERROR,