aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gin/ginvalidate.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-07-28 16:18:35 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-07-28 16:34:44 -0400
commitef5d4a3cfacb009526aac3e01a26f4b54d70bfd7 (patch)
tree13bdcabe63e7ac63c55e4579870b375d03dccc75 /src/backend/access/gin/ginvalidate.c
parent9492cf86e40288395a2ec6d81f7f5417e0e1b4fa (diff)
downloadpostgresql-ef5d4a3cfacb009526aac3e01a26f4b54d70bfd7.tar.gz
postgresql-ef5d4a3cfacb009526aac3e01a26f4b54d70bfd7.zip
Message style improvements
Diffstat (limited to 'src/backend/access/gin/ginvalidate.c')
-rw-r--r--src/backend/access/gin/ginvalidate.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/access/gin/ginvalidate.c b/src/backend/access/gin/ginvalidate.c
index 87177fc96bc..7518ededd95 100644
--- a/src/backend/access/gin/ginvalidate.c
+++ b/src/backend/access/gin/ginvalidate.c
@@ -89,7 +89,7 @@ ginvalidate(Oid opclassoid)
{
ereport(INFO,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("gin opfamily %s contains support procedure %s with cross-type registration",
+ errmsg("gin operator family \"%s\" contains support procedure %s with cross-type registration",
opfamilyname,
format_procedure(procform->amproc))));
result = false;
@@ -145,7 +145,7 @@ ginvalidate(Oid opclassoid)
default:
ereport(INFO,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("gin opfamily %s contains function %s with invalid support number %d",
+ errmsg("gin operator family \"%s\" contains function %s with invalid support number %d",
opfamilyname,
format_procedure(procform->amproc),
procform->amprocnum)));
@@ -157,7 +157,7 @@ ginvalidate(Oid opclassoid)
{
ereport(INFO,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("gin opfamily %s contains function %s with wrong signature for support number %d",
+ errmsg("gin operator family \"%s\" contains function %s with wrong signature for support number %d",
opfamilyname,
format_procedure(procform->amproc),
procform->amprocnum)));
@@ -176,7 +176,7 @@ ginvalidate(Oid opclassoid)
{
ereport(INFO,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("gin opfamily %s contains operator %s with invalid strategy number %d",
+ errmsg("gin operator family \"%s\" contains operator %s with invalid strategy number %d",
opfamilyname,
format_operator(oprform->amopopr),
oprform->amopstrategy)));
@@ -189,7 +189,7 @@ ginvalidate(Oid opclassoid)
{
ereport(INFO,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("gin opfamily %s contains invalid ORDER BY specification for operator %s",
+ errmsg("gin operator family \"%s\" contains invalid ORDER BY specification for operator %s",
opfamilyname,
format_operator(oprform->amopopr))));
result = false;
@@ -202,7 +202,7 @@ ginvalidate(Oid opclassoid)
{
ereport(INFO,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("gin opfamily %s contains operator %s with wrong signature",
+ errmsg("gin operator family \"%s\" contains operator %s with wrong signature",
opfamilyname,
format_operator(oprform->amopopr))));
result = false;
@@ -243,7 +243,7 @@ ginvalidate(Oid opclassoid)
continue; /* don't need both, see check below loop */
ereport(INFO,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("gin opclass %s is missing support function %d",
+ errmsg("gin operator class \"%s\" is missing support function %d",
opclassname, i)));
result = false;
}
@@ -253,7 +253,7 @@ ginvalidate(Oid opclassoid)
{
ereport(INFO,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("gin opclass %s is missing support function %d or %d",
+ errmsg("gin operator class \"%s\" is missing support function %d or %d",
opclassname,
GIN_CONSISTENT_PROC, GIN_TRICONSISTENT_PROC)));
result = false;