mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
A visit from the message-style police ...
This commit is contained in:
4
src/backend/utils/cache/catcache.c
vendored
4
src/backend/utils/cache/catcache.c
vendored
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.105 2003/07/25 20:17:52 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.106 2003/07/28 00:09:16 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -766,7 +766,7 @@ CatalogCacheFlushRelation(Oid relId)
|
||||
#ifdef CACHEDEBUG
|
||||
#define InitCatCache_DEBUG2 \
|
||||
do { \
|
||||
elog(DEBUG2, "InitCatCache: rel=%s id=%d nkeys=%d size=%d\n", \
|
||||
elog(DEBUG2, "InitCatCache: rel=%s id=%d nkeys=%d size=%d", \
|
||||
cp->cc_relname, cp->id, cp->cc_nkeys, cp->cc_nbuckets); \
|
||||
} while(0)
|
||||
|
||||
|
6
src/backend/utils/cache/lsyscache.c
vendored
6
src/backend/utils/cache/lsyscache.c
vendored
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.102 2003/07/25 20:17:52 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.103 2003/07/28 00:09:16 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Eventually, the index information should go through here, too.
|
||||
@ -312,8 +312,8 @@ get_atttypetypmod(Oid relid, AttrNumber attnum,
|
||||
Int16GetDatum(attnum),
|
||||
0, 0);
|
||||
if (!HeapTupleIsValid(tp))
|
||||
elog(ERROR, "cache lookup failed for relation %u attribute %d",
|
||||
relid, attnum);
|
||||
elog(ERROR, "cache lookup failed for attribute %d of relation %u",
|
||||
attnum, relid);
|
||||
att_tup = (Form_pg_attribute) GETSTRUCT(tp);
|
||||
|
||||
*typid = att_tup->atttypid;
|
||||
|
Reference in New Issue
Block a user