remove elogs used for debugging.
This commit is contained in:
parent
0e14dfe0fb
commit
4fa1eeb826
10
src/backend/utils/cache/temprel.c
vendored
10
src/backend/utils/cache/temprel.c
vendored
@ -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)
|
|||||||
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);
|
|||||||
{
|
{
|
||||||
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)
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user