break;
default:
- elog(ERROR, "unrecognized objtype: %d",
+ elog(ERROR, "unrecognized object type: %d",
(int) iacls->objtype);
objtype = 0; /* keep compiler quiet */
break;
case OBJECT_TSPARSER:
case OBJECT_TSTEMPLATE:
case OBJECT_USER_MAPPING:
- elog(ERROR, "unsupported object type %d", objtype);
+ elog(ERROR, "unsupported object type: %d", objtype);
}
ereport(ERROR,
case OBJECT_TSPARSER:
case OBJECT_TSTEMPLATE:
case OBJECT_USER_MAPPING:
- elog(ERROR, "unsupported object type %d", objtype);
+ elog(ERROR, "unsupported object type: %d", objtype);
}
ereport(ERROR,
case OBJECT_TYPE:
return pg_type_aclmask(table_oid, roleid, mask, how);
default:
- elog(ERROR, "unrecognized objtype: %d",
+ elog(ERROR, "unrecognized object type: %d",
(int) objtype);
/* not reached, but keep compiler quiet */
return ACL_NO_RIGHTS;
address.objectSubId = 0;
break;
default:
- elog(ERROR, "unrecognized objtype: %d", (int) objtype);
+ elog(ERROR, "unrecognized object type: %d", (int) objtype);
/* placate compiler, in case it thinks elog might return */
address.classId = InvalidOid;
address.objectId = InvalidOid;
address.objectSubId = 0;
break;
default:
- elog(ERROR, "unrecognized objtype: %d", (int) objtype);
+ elog(ERROR, "unrecognized object type: %d", (int) objtype);
/* placate compiler, which doesn't know elog won't return */
address.classId = InvalidOid;
address.objectId = InvalidOid;
RelationGetRelationName(relation))));
break;
default:
- elog(ERROR, "unrecognized objtype: %d", (int) objtype);
+ elog(ERROR, "unrecognized object type: %d", (int) objtype);
break;
}
address.objectSubId = 0;
break;
default:
- elog(ERROR, "unrecognized objtype: %d", (int) objtype);
+ elog(ERROR, "unrecognized object type: %d", (int) objtype);
}
/* Avoid relcache leak when object not found. */
address.objectSubId = 0;
break;
default:
- elog(ERROR, "unrecognized objtype: %d", (int) objtype);
+ elog(ERROR, "unrecognized object type: %d", (int) objtype);
/* placate compiler, which doesn't know elog won't return */
address.classId = InvalidOid;
address.objectId = InvalidOid;
}
break;
default:
- elog(ERROR, "unrecognized objtype: %d", (int) objtype);
+ elog(ERROR, "unrecognized object type: %d", (int) objtype);
}
return address;
msgfmt = gettext_noop("subscription \"%s\" already exists");
break;
default:
- elog(ERROR, "unsupported object class %u", classId);
+ elog(ERROR, "unsupported object class: %u", classId);
break;
}
msgfmt = gettext_noop("text search configuration \"%s\" already exists in schema \"%s\"");
break;
default:
- elog(ERROR, "unsupported object class %u", classId);
+ elog(ERROR, "unsupported object class: %u", classId);
break;
}
owner_default = ACL_ALL_RIGHTS_PARAMETER_ACL;
break;
default:
- elog(ERROR, "unrecognized objtype: %d", (int) objtype);
+ elog(ERROR, "unrecognized object type: %d", (int) objtype);
world_default = ACL_NO_RIGHTS; /* keep compiler quiet */
owner_default = ACL_NO_RIGHTS;
break;
objtype = OBJECT_TYPE;
break;
default:
- elog(ERROR, "unrecognized objtype abbreviation: %c", objtypec);
+ elog(ERROR, "unrecognized object type abbreviation: %c", objtypec);
}
PG_RETURN_ACL_P(acldefault(objtype, owner));