Commit 4fa1eeb8 authored by Bruce Momjian's avatar Bruce Momjian

remove elogs used for debugging.

parent 0e14dfe0
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.13 1999/09/04 22:00:30 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.14 1999/09/04 22:03:09 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -118,8 +118,6 @@ remove_temp_relation(Oid relid) ...@@ -118,8 +118,6 @@ remove_temp_relation(Oid relid)
List *l, List *l,
*prev; *prev;
elog(NOTICE,"oid = %d", relid);
oldcxt = MemoryContextSwitchTo((MemoryContext) CacheCxt); oldcxt = MemoryContextSwitchTo((MemoryContext) CacheCxt);
prev = NIL; prev = NIL;
...@@ -128,11 +126,8 @@ elog(NOTICE,"oid = %d", relid); ...@@ -128,11 +126,8 @@ elog(NOTICE,"oid = %d", relid);
{ {
TempTable *temp_rel = lfirst(l); TempTable *temp_rel = lfirst(l);
elog(NOTICE,"check oid = %d", temp_rel->relid);
if (temp_rel->relid == relid) if (temp_rel->relid == relid)
{ {
elog(NOTICE,"removed");
pfree(temp_rel->user_relname); pfree(temp_rel->user_relname);
pfree(temp_rel->relname); pfree(temp_rel->relname);
pfree(temp_rel); pfree(temp_rel);
...@@ -217,10 +212,7 @@ get_temp_rel_by_name(char *user_relname) ...@@ -217,10 +212,7 @@ get_temp_rel_by_name(char *user_relname)
TempTable *temp_rel = lfirst(l); TempTable *temp_rel = lfirst(l);
if (strcmp(temp_rel->user_relname, user_relname) == 0) if (strcmp(temp_rel->user_relname, user_relname) == 0)
{
elog(NOTICE,"found");
return temp_rel->relname; return temp_rel->relname;
}
} }
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