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:
@ -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,
|
||||
|
Reference in New Issue
Block a user