]> granicus.if.org Git - postgresql/commitdiff
Remove inappropriate quotes
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 23 Feb 2012 10:51:33 +0000 (12:51 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 23 Feb 2012 10:52:17 +0000 (12:52 +0200)
And adjust wording for consistency.

src/backend/commands/foreigncmds.c

index 990875de76bb42fb316963b8480b54689a940bd7..5d18bdcf0a972b7da4cd334d584ceab1f9269776 100644 (file)
@@ -364,7 +364,7 @@ AlterForeignDataWrapperOwner_oid(Oid fwdId, Oid newOwnerId)
        if (!HeapTupleIsValid(tup))
                ereport(ERROR,
                                (errcode(ERRCODE_UNDEFINED_OBJECT),
-                                errmsg("foreign-data wrapper with OID \"%u\" does not exist", fwdId)));
+                                errmsg("foreign-data wrapper with OID %u does not exist", fwdId)));
 
        AlterForeignDataWrapperOwner_internal(rel, tup, newOwnerId);
 
@@ -463,7 +463,7 @@ AlterForeignServerOwner_oid(Oid srvId, Oid newOwnerId)
        if (!HeapTupleIsValid(tup))
                ereport(ERROR,
                                (errcode(ERRCODE_UNDEFINED_OBJECT),
-                                errmsg("server with OID \"%u\" does not exist", srvId)));
+                                errmsg("foreign server with OID %u does not exist", srvId)));
 
        AlterForeignServerOwner_internal(rel, tup, newOwnerId);