From: Bruce Momjian Date: Sat, 4 Sep 1999 22:03:09 +0000 (+0000) Subject: remove elogs used for debugging. X-Git-Tag: REL7_0~1546 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fa1eeb826d84b79d4f5f66a280576755c56ad7f;p=postgresql remove elogs used for debugging. --- diff --git a/src/backend/utils/cache/temprel.c b/src/backend/utils/cache/temprel.c index ece1c9519f..e8cc0c2487 100644 --- a/src/backend/utils/cache/temprel.c +++ b/src/backend/utils/cache/temprel.c @@ -7,7 +7,7 @@ * * * 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) List *l, *prev; -elog(NOTICE,"oid = %d", relid); - oldcxt = MemoryContextSwitchTo((MemoryContext) CacheCxt); prev = NIL; @@ -128,11 +126,8 @@ elog(NOTICE,"oid = %d", relid); { TempTable *temp_rel = lfirst(l); -elog(NOTICE,"check oid = %d", temp_rel->relid); - if (temp_rel->relid == relid) { -elog(NOTICE,"removed"); pfree(temp_rel->user_relname); pfree(temp_rel->relname); pfree(temp_rel); @@ -217,10 +212,7 @@ get_temp_rel_by_name(char *user_relname) TempTable *temp_rel = lfirst(l); if (strcmp(temp_rel->user_relname, user_relname) == 0) - { - elog(NOTICE,"found"); return temp_rel->relname; - } } return NULL; }