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

Shorten warning about hash creation

Also document that PITR is also affected.
This commit is contained in:
Bruce Momjian
2014-10-18 10:36:09 -04:00
parent 417f92484d
commit b87671f1b6
7 changed files with 11 additions and 10 deletions

View File

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