*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/Attic/catalog_utils.c,v 1.26 1997/09/12 04:07:56 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/Attic/catalog_utils.c,v 1.27 1997/09/13 03:11:51 thomas Exp $
*
*-------------------------------------------------------------------------
*/
}
}
- elog(WARN, "Relation %s does not have attribute %s\n",
+ elog(WARN, "Relation %s does not have attribute %s",
RelationGetRelationName(rd), a);
return (-1);
}
return (name);
}
}
- elog(WARN, "Illegal attr no %d for relation %s\n",
+ elog(WARN, "Illegal attr no %d for relation %s",
attrno, RelationGetRelationName(rd));
}
else if (attrno >= 1 && attrno <= RelationGetNumberOfAttributes(rd))
}
else
{
- elog(WARN, "Illegal attr no %d for relation %s\n",
+ elog(WARN, "Illegal attr no %d for relation %s",
attrno, RelationGetRelationName(rd));
}
0, 0, 0);
if (!HeapTupleIsValid(type_tuple))
- elog(WARN, "GetArrayElementType: Cache lookup failed for type %d\n",
+ elog(WARN, "GetArrayElementType: Cache lookup failed for type %d",
typearray);
/* get the array type struct from the type tuple */
ObjectIdGetDatum(type_id),
0, 0, 0);
if (!HeapTupleIsValid(typeTuple))
- elog(WARN,
- "typeid_get_retinfunc: Invalid type - oid = %u",
- type_id);
+ elog(WARN, "typeid_get_retinfunc: Invalid type - oid = %u", type_id);
type = (TypeTupleForm) GETSTRUCT(typeTuple);
infunc = type->typinput;
ObjectIdGetDatum(type_id),
0, 0, 0);
if (!HeapTupleIsValid(typeTuple))
- elog(WARN,
- "typeid_get_retoutfunc: Invalid type - oid = %u",
- type_id);
+ elog(WARN, "typeid_get_retoutfunc: Invalid type - oid = %u", type_id);
type = (TypeTupleForm) GETSTRUCT(typeTuple);
outfunc = type->typoutput;
ObjectIdGetDatum(type_id),
0, 0, 0);
if (!HeapTupleIsValid(typeTuple))
- elog(WARN, "typeid_get_relid: Invalid type - oid = %u ", type_id);
+ elog(WARN, "typeid_get_relid: Invalid type - oid = %u", type_id);
type = (TypeTupleForm) GETSTRUCT(typeTuple);
infunc = type->typrelid;