mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Change error messages to oids come out as %u and not %d. Change has no
real affect now.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.43 1999/04/13 19:04:33 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.44 1999/05/10 00:44:56 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* The PortalExecutorHeapMemory crap needs to be eliminated
|
||||
@@ -368,7 +368,7 @@ PerformAddAttribute(char *relationName,
|
||||
rel = heap_open(childrelid);
|
||||
if (!RelationIsValid(rel))
|
||||
{
|
||||
elog(ERROR, "PerformAddAttribute: can't find catalog entry for inheriting class with oid %d",
|
||||
elog(ERROR, "PerformAddAttribute: can't find catalog entry for inheriting class with oid %u",
|
||||
childrelid);
|
||||
}
|
||||
PerformAddAttribute((rel->rd_rel->relname).data,
|
||||
|
@@ -6,7 +6,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.75 1999/05/03 19:09:38 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.76 1999/05/10 00:44:58 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -926,7 +926,7 @@ GetOutputFunction(Oid type)
|
||||
if (HeapTupleIsValid(typeTuple))
|
||||
return (int) ((Form_pg_type) GETSTRUCT(typeTuple))->typoutput;
|
||||
|
||||
elog(ERROR, "GetOutputFunction: Cache lookup of type %d failed", type);
|
||||
elog(ERROR, "GetOutputFunction: Cache lookup of type %u failed", type);
|
||||
return InvalidOid;
|
||||
}
|
||||
|
||||
@@ -958,7 +958,7 @@ GetInputFunction(Oid type)
|
||||
if (HeapTupleIsValid(typeTuple))
|
||||
return (int) ((Form_pg_type) GETSTRUCT(typeTuple))->typinput;
|
||||
|
||||
elog(ERROR, "GetInputFunction: Cache lookup of type %d failed", type);
|
||||
elog(ERROR, "GetInputFunction: Cache lookup of type %u failed", type);
|
||||
return InvalidOid;
|
||||
}
|
||||
|
||||
@@ -974,7 +974,7 @@ IsTypeByVal(Oid type)
|
||||
if (HeapTupleIsValid(typeTuple))
|
||||
return (int) ((Form_pg_type) GETSTRUCT(typeTuple))->typbyval;
|
||||
|
||||
elog(ERROR, "GetInputFunction: Cache lookup of type %d failed", type);
|
||||
elog(ERROR, "GetInputFunction: Cache lookup of type %u failed", type);
|
||||
|
||||
return InvalidOid;
|
||||
}
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.33 1999/03/16 04:25:45 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.34 1999/05/10 00:44:59 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -123,7 +123,7 @@ destroydb(char *dbname, CommandDest dest)
|
||||
* permissions problems
|
||||
*/
|
||||
snprintf(buf, 512,
|
||||
"delete from pg_database where pg_database.oid = \'%d\'::oid", db_id);
|
||||
"delete from pg_database where pg_database.oid = \'%u\'::oid", db_id);
|
||||
pg_exec_query_dest(buf ,dest, false);
|
||||
|
||||
/* drop pages for this database that are in the shared buffer cache */
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.2 1999/03/14 05:23:12 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.3 1999/05/10 00:44:59 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -164,8 +164,7 @@ DefineIndex(char *heapRelationName,
|
||||
if (nargs > INDEX_MAX_KEYS)
|
||||
{
|
||||
elog(ERROR,
|
||||
"Too many args to function, limit of %d",
|
||||
INDEX_MAX_KEYS);
|
||||
"Too many args to function, limit of %d", INDEX_MAX_KEYS);
|
||||
}
|
||||
|
||||
FIsetnArgs(&fInfo, nargs);
|
||||
@@ -514,7 +513,7 @@ NormIndexAttrs(List *attList, /* list of IndexElem's */
|
||||
if (attribute->class == NULL)
|
||||
{
|
||||
elog(ERROR,
|
||||
"Can't find a default operator class for type %d.",
|
||||
"Can't find a default operator class for type %u.",
|
||||
attform->atttypid);
|
||||
}
|
||||
}
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.22 1999/03/17 22:52:52 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.23 1999/05/10 00:44:59 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -130,7 +130,7 @@ renameatt(char *relname,
|
||||
0, 0, 0);
|
||||
if (!HeapTupleIsValid(reltup))
|
||||
{
|
||||
elog(ERROR, "renameatt: can't find catalog entry for inheriting class with oid %d",
|
||||
elog(ERROR, "renameatt: can't find catalog entry for inheriting class with oid %u",
|
||||
childrelid);
|
||||
}
|
||||
/* make copy of cache value, could disappear in call */
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.101 1999/05/09 14:00:29 vadim Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.102 1999/05/10 00:44:59 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -2140,7 +2140,7 @@ vc_updstats(Oid relid, int num_pages, int num_tuples, bool hasindex, VRelStats *
|
||||
ObjectIdGetDatum(relid),
|
||||
0, 0, 0);
|
||||
if (!HeapTupleIsValid(ctup))
|
||||
elog(ERROR, "pg_class entry for relid %d vanished during vacuuming",
|
||||
elog(ERROR, "pg_class entry for relid %u vanished during vacuuming",
|
||||
relid);
|
||||
|
||||
rd = heap_openr(RelationRelationName);
|
||||
|
Reference in New Issue
Block a user