From 4853495e033245bbfc1d212ba8f2286008873f64 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 10 May 1999 00:46:32 +0000 Subject: Change error messages to oids come out as %u and not %d. Change has no real affect now. --- src/backend/utils/adt/selfuncs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/backend/utils/adt/selfuncs.c') diff --git a/src/backend/utils/adt/selfuncs.c b/src/backend/utils/adt/selfuncs.c index f7026ba158f..53310bf1b3e 100644 --- a/src/backend/utils/adt/selfuncs.c +++ b/src/backend/utils/adt/selfuncs.c @@ -12,7 +12,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.26 1999/03/18 19:59:55 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.27 1999/05/10 00:46:00 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -286,7 +286,7 @@ getattdisbursion(Oid relid, AttrNumber attnum) 0, 0); if (!HeapTupleIsValid(atp)) { - elog(ERROR, "getattdisbursion: no attribute tuple %d %d", + elog(ERROR, "getattdisbursion: no attribute tuple %u %d", relid, attnum); return 0; } @@ -304,7 +304,7 @@ getattdisbursion(Oid relid, AttrNumber attnum) */ if (!HeapTupleIsValid(atp)) { - elog(ERROR, "getattdisbursion: no relation tuple %d", relid); + elog(ERROR, "getattdisbursion: no relation tuple %u", relid); return 0; } ntuples = ((Form_pg_class) GETSTRUCT(atp))->reltuples; @@ -460,7 +460,7 @@ btreenpage(Oid operatorObjectId, 0, 0, 0); if (!HeapTupleIsValid(atp)) { - elog(ERROR, "btreenpage: no index tuple %d", indexrelid); + elog(ERROR, "btreenpage: no index tuple %u", indexrelid); return 0; } @@ -499,7 +499,7 @@ hashsel(Oid operatorObjectId, 0, 0, 0); if (!HeapTupleIsValid(atp)) { - elog(ERROR, "hashsel: no index tuple %d", indexrelid); + elog(ERROR, "hashsel: no index tuple %u", indexrelid); return 0; } ntuples = ((Form_pg_class) GETSTRUCT(atp))->reltuples; @@ -552,7 +552,7 @@ hashnpage(Oid operatorObjectId, 0, 0, 0); if (!HeapTupleIsValid(atp)) { - elog(ERROR, "hashsel: no index tuple %d", indexrelid); + elog(ERROR, "hashsel: no index tuple %u", indexrelid); return 0; } -- cgit v1.2.3