mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +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:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootparse.y,v 1.24 1999/02/13 23:14:51 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootparse.y,v 1.25 1999/05/10 00:44:51 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -178,7 +178,7 @@ Boot_CreateStmt:
|
||||
id = heap_create_with_catalog(LexIDStr($3),
|
||||
tupdesc, RELKIND_RELATION, false);
|
||||
if (!Quiet)
|
||||
printf("CREATED relation %s with OID %d\n",
|
||||
printf("CREATED relation %s with OID %u\n",
|
||||
LexIDStr($3), id);
|
||||
}
|
||||
DO_END;
|
||||
|
@ -7,7 +7,7 @@
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.58 1999/04/20 02:19:53 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.59 1999/05/10 00:44:52 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -630,7 +630,7 @@ InsertOneTuple(Oid objectid)
|
||||
|
||||
if (DebugMode)
|
||||
{
|
||||
printf("InsertOneTuple oid %d, %d attrs\n", objectid, numattr);
|
||||
printf("InsertOneTuple oid %u, %d attrs\n", objectid, numattr);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
@ -644,7 +644,7 @@ InsertOneTuple(Oid objectid)
|
||||
pfree(tuple);
|
||||
if (DebugMode)
|
||||
{
|
||||
printf("End InsertOneTuple, objectid=%d\n", objectid);
|
||||
printf("End InsertOneTuple, objectid=%u\n", objectid);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
@ -686,7 +686,7 @@ InsertOneValue(Oid objectid, char *value, int i)
|
||||
ap = *app;
|
||||
if (ap == NULL)
|
||||
{
|
||||
printf("Unable to find atttypid in Typ list! %d\n",
|
||||
printf("Unable to find atttypid in Typ list! %u\n",
|
||||
reldesc->rd_att->attrs[i]->atttypid
|
||||
);
|
||||
Assert(0);
|
||||
@ -707,7 +707,7 @@ InsertOneValue(Oid objectid, char *value, int i)
|
||||
{
|
||||
typeindex = attrtypes[i]->atttypid - FIRST_TYPE_OID;
|
||||
if (DebugMode)
|
||||
printf("Typ == NULL, typeindex = %d idx = %d\n", typeindex, i);
|
||||
printf("Typ == NULL, typeindex = %u idx = %d\n", typeindex, i);
|
||||
values[i] = fmgr(Procid[typeindex].inproc, value,
|
||||
Procid[typeindex].elem, -1);
|
||||
prt = fmgr(Procid[typeindex].outproc, values[i],
|
||||
|
Reference in New Issue
Block a user