diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-05-10 00:46:32 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-05-10 00:46:32 +0000 |
commit | 4853495e033245bbfc1d212ba8f2286008873f64 (patch) | |
tree | 230beedec9848a1f462adbdf0dd1877c5d304fd5 /src/backend/utils/cache/relcache.c | |
parent | b7332c92438a518c7845a42f8892d2bd4a4f3258 (diff) | |
download | postgresql-4853495e033245bbfc1d212ba8f2286008873f64.tar.gz |
Change error messages to oids come out as %u and not %d. Change has no
real affect now.
Diffstat (limited to 'src/backend/utils/cache/relcache.c')
-rw-r--r-- | src/backend/utils/cache/relcache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c index 38edc3a790..4affb0f6ae 100644 --- a/src/backend/utils/cache/relcache.c +++ b/src/backend/utils/cache/relcache.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.60 1999/05/01 19:09:44 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.61 1999/05/10 00:46:08 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -280,7 +280,7 @@ BuildDescInfoError(RelationBuildDescInfo buildinfo) switch (buildinfo.infotype) { case INFO_RELID: - sprintf(errBuf, "(relation id %d)", buildinfo.i.info_id); + sprintf(errBuf, "(relation id %u)", buildinfo.i.info_id); break; case INFO_RELNAME: sprintf(errBuf, "(relation name %s)", buildinfo.i.info_name); @@ -545,7 +545,7 @@ build_tupdesc_seq(RelationBuildDescInfo buildinfo, } if (need > 0) - elog(ERROR, "catalog is missing %d attribute%s for relid %d", + elog(ERROR, "catalog is missing %d attribute%s for relid %u", need, (need == 1 ? "" : "s"), RelationGetRelid(relation)); /* ---------------- |