mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Message style improvements
This commit is contained in:
@@ -95,7 +95,7 @@ hashvalidate(Oid opclassoid)
|
||||
{
|
||||
ereport(INFO,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("hash opfamily %s contains support procedure %s with cross-type registration",
|
||||
errmsg("hash operator family \"%s\" contains support procedure %s with cross-type registration",
|
||||
opfamilyname,
|
||||
format_procedure(procform->amproc))));
|
||||
result = false;
|
||||
@@ -110,7 +110,7 @@ hashvalidate(Oid opclassoid)
|
||||
{
|
||||
ereport(INFO,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("hash opfamily %s contains function %s with wrong signature for support number %d",
|
||||
errmsg("hash operator family \"%s\" contains function %s with wrong signature for support number %d",
|
||||
opfamilyname,
|
||||
format_procedure(procform->amproc),
|
||||
procform->amprocnum)));
|
||||
@@ -127,7 +127,7 @@ hashvalidate(Oid opclassoid)
|
||||
default:
|
||||
ereport(INFO,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("hash opfamily %s contains function %s with invalid support number %d",
|
||||
errmsg("hash operator family \"%s\" contains function %s with invalid support number %d",
|
||||
opfamilyname,
|
||||
format_procedure(procform->amproc),
|
||||
procform->amprocnum)));
|
||||
@@ -148,7 +148,7 @@ hashvalidate(Oid opclassoid)
|
||||
{
|
||||
ereport(INFO,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("hash opfamily %s contains operator %s with invalid strategy number %d",
|
||||
errmsg("hash operator family \"%s\" contains operator %s with invalid strategy number %d",
|
||||
opfamilyname,
|
||||
format_operator(oprform->amopopr),
|
||||
oprform->amopstrategy)));
|
||||
@@ -161,7 +161,7 @@ hashvalidate(Oid opclassoid)
|
||||
{
|
||||
ereport(INFO,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("hash opfamily %s contains invalid ORDER BY specification for operator %s",
|
||||
errmsg("hash operator family \"%s\" contains invalid ORDER BY specification for operator %s",
|
||||
opfamilyname,
|
||||
format_operator(oprform->amopopr))));
|
||||
result = false;
|
||||
@@ -174,7 +174,7 @@ hashvalidate(Oid opclassoid)
|
||||
{
|
||||
ereport(INFO,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("hash opfamily %s contains operator %s with wrong signature",
|
||||
errmsg("hash operator family \"%s\" contains operator %s with wrong signature",
|
||||
opfamilyname,
|
||||
format_operator(oprform->amopopr))));
|
||||
result = false;
|
||||
@@ -186,7 +186,7 @@ hashvalidate(Oid opclassoid)
|
||||
{
|
||||
ereport(INFO,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("hash opfamily %s lacks support function for operator %s",
|
||||
errmsg("hash operator family \"%s\" lacks support function for operator %s",
|
||||
opfamilyname,
|
||||
format_operator(oprform->amopopr))));
|
||||
result = false;
|
||||
@@ -214,7 +214,7 @@ hashvalidate(Oid opclassoid)
|
||||
{
|
||||
ereport(INFO,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("hash opfamily %s is missing operator(s) for types %s and %s",
|
||||
errmsg("hash operator family \"%s\" is missing operator(s) for types %s and %s",
|
||||
opfamilyname,
|
||||
format_type_be(thisgroup->lefttype),
|
||||
format_type_be(thisgroup->righttype))));
|
||||
@@ -228,7 +228,7 @@ hashvalidate(Oid opclassoid)
|
||||
{
|
||||
ereport(INFO,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("hash opclass %s is missing operator(s)",
|
||||
errmsg("hash operator class \"%s\" is missing operator(s)",
|
||||
opclassname)));
|
||||
result = false;
|
||||
}
|
||||
@@ -244,7 +244,7 @@ hashvalidate(Oid opclassoid)
|
||||
{
|
||||
ereport(INFO,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("hash opfamily %s is missing cross-type operator(s)",
|
||||
errmsg("hash operator family \"%s\" is missing cross-type operator(s)",
|
||||
opfamilyname)));
|
||||
result = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user