66 *
77 *
88 * IDENTIFICATION
9- * $Header: /cvsroot/pgsql/src/backend/parser/Attic/catalog_utils.c,v 1.26 1997/09/12 04:07:56 momjian Exp $
9+ * $Header: /cvsroot/pgsql/src/backend/parser/Attic/catalog_utils.c,v 1.27 1997/09/13 03:11:51 thomas Exp $
1010 *
1111 *-------------------------------------------------------------------------
1212 */
@@ -804,7 +804,7 @@ varattno(Relation rd, char *a)
804804}
805805}
806806
807- elog (WARN ,"Relation %s does not have attribute %s\n " ,
807+ elog (WARN ,"Relation %s does not have attribute %s" ,
808808RelationGetRelationName (rd ),a );
809809return (-1 );
810810}
@@ -872,7 +872,7 @@ getAttrName(Relation rd, int attrno)
872872return (name );
873873}
874874}
875- elog (WARN ,"Illegal attr no %d for relation %s\n " ,
875+ elog (WARN ,"Illegal attr no %d for relation %s" ,
876876attrno ,RelationGetRelationName (rd ));
877877}
878878else if (attrno >=1 && attrno <=RelationGetNumberOfAttributes (rd ))
@@ -882,7 +882,7 @@ getAttrName(Relation rd, int attrno)
882882}
883883else
884884{
885- elog (WARN ,"Illegal attr no %d for relation %s\n " ,
885+ elog (WARN ,"Illegal attr no %d for relation %s" ,
886886attrno ,RelationGetRelationName (rd ));
887887}
888888
@@ -945,7 +945,7 @@ GetArrayElementType(Oid typearray)
9459450 ,0 ,0 );
946946
947947if (!HeapTupleIsValid (type_tuple ))
948- elog (WARN ,"GetArrayElementType: Cache lookup failed for type %d\n " ,
948+ elog (WARN ,"GetArrayElementType: Cache lookup failed for type %d" ,
949949typearray );
950950
951951/* get the array type struct from the type tuple */
@@ -1518,9 +1518,7 @@ typeid_get_retinfunc(Oid type_id)
15181518ObjectIdGetDatum (type_id ),
151915190 ,0 ,0 );
15201520if (!HeapTupleIsValid (typeTuple ))
1521- elog (WARN ,
1522- "typeid_get_retinfunc: Invalid type - oid = %u" ,
1523- type_id );
1521+ elog (WARN ,"typeid_get_retinfunc: Invalid type - oid = %u" ,type_id );
15241522
15251523type = (TypeTupleForm )GETSTRUCT (typeTuple );
15261524infunc = type -> typinput ;
@@ -1539,9 +1537,7 @@ typeid_get_retoutfunc(Oid type_id)
15391537ObjectIdGetDatum (type_id ),
154015380 ,0 ,0 );
15411539if (!HeapTupleIsValid (typeTuple ))
1542- elog (WARN ,
1543- "typeid_get_retoutfunc: Invalid type - oid = %u" ,
1544- type_id );
1540+ elog (WARN ,"typeid_get_retoutfunc: Invalid type - oid = %u" ,type_id );
15451541
15461542type = (TypeTupleForm )GETSTRUCT (typeTuple );
15471543outfunc = type -> typoutput ;
@@ -1559,7 +1555,7 @@ typeid_get_relid(Oid type_id)
15591555ObjectIdGetDatum (type_id ),
156015560 ,0 ,0 );
15611557if (!HeapTupleIsValid (typeTuple ))
1562- elog (WARN ,"typeid_get_relid: Invalid type - oid = %u " ,type_id );
1558+ elog (WARN ,"typeid_get_relid: Invalid type - oid = %u" ,type_id );
15631559
15641560type = (TypeTupleForm )GETSTRUCT (typeTuple );
15651561infunc = type -> typrelid ;