Commit 52dd4cfd authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Fix CACHEDEBUG debugging statements; usually not used and apparently

 broke a long time ago when some definitions changed.
parent de75f9ef
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.16 1998/02/26 04:37:33 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.17 1998/05/09 23:45:29 thomas Exp $
* *
* NOTES * NOTES
* These routines allow the parser/planner/executor to perform * These routines allow the parser/planner/executor to perform
...@@ -438,7 +438,7 @@ SearchSysCacheTuple(int cacheId,/* cache selection code */ ...@@ -438,7 +438,7 @@ SearchSysCacheTuple(int cacheId,/* cache selection code */
#ifdef CACHEDEBUG #ifdef CACHEDEBUG
elog(DEBUG, elog(DEBUG,
"SearchSysCacheTuple: Search %s(%d) %d %d %d %d failed", "SearchSysCacheTuple: Search %s(%d) %d %d %d %d failed",
(*cacheinfo[cacheId].name)->data, cacheinfo[cacheId].name,
cacheId, key1, key2, key3, key4); cacheId, key1, key2, key3, key4);
#endif #endif
return ((HeapTuple) NULL); return ((HeapTuple) NULL);
...@@ -610,7 +610,7 @@ TypeDefaultRetrieve(Oid typId) ...@@ -610,7 +610,7 @@ TypeDefaultRetrieve(Oid typId)
{ {
#ifdef CACHEDEBUG #ifdef CACHEDEBUG
elog(DEBUG, "TypeDefaultRetrieve: Lookup in %s(%d) failed", elog(DEBUG, "TypeDefaultRetrieve: Lookup in %s(%d) failed",
(*cacheinfo[TYPOID].name)->data, TYPOID); cacheinfo[TYPOID].name, TYPOID);
#endif /* defined(CACHEDEBUG) */ #endif /* defined(CACHEDEBUG) */
return (NULL); return (NULL);
} }
...@@ -628,8 +628,8 @@ TypeDefaultRetrieve(Oid typId) ...@@ -628,8 +628,8 @@ TypeDefaultRetrieve(Oid typId)
if (typDefault == (struct varlena *) NULL) if (typDefault == (struct varlena *) NULL)
{ {
#ifdef CACHEDEBUG #ifdef CACHEDEBUG
elog(DEBUG, "TypeDefaultRetrieve: No extractable typdefault", elog(DEBUG, "TypeDefaultRetrieve: No extractable typdefault in %s(%d)",
(*cacheinfo[TYPOID].name)->data, TYPOID); cacheinfo[TYPOID].name, TYPOID);
#endif /* defined(CACHEDEBUG) */ #endif /* defined(CACHEDEBUG) */
return (NULL); return (NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment