Skip to content

Commit 4fa1eeb

Browse files
committed
remove elogs used for debugging.
1 parent 0e14dfe commit 4fa1eeb

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/backend/utils/cache/temprel.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.13 1999/09/04 22:00:30 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/temprel.c,v 1.14 1999/09/04 22:03:09 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -118,8 +118,6 @@ remove_temp_relation(Oid relid)
118118
List *l,
119119
*prev;
120120

121-
elog(NOTICE,"oid = %d", relid);
122-
123121
oldcxt = MemoryContextSwitchTo((MemoryContext) CacheCxt);
124122

125123
prev = NIL;
@@ -128,11 +126,8 @@ elog(NOTICE,"oid = %d", relid);
128126
{
129127
TempTable *temp_rel = lfirst(l);
130128

131-
elog(NOTICE,"check oid = %d", temp_rel->relid);
132-
133129
if (temp_rel->relid == relid)
134130
{
135-
elog(NOTICE,"removed");
136131
pfree(temp_rel->user_relname);
137132
pfree(temp_rel->relname);
138133
pfree(temp_rel);
@@ -217,10 +212,7 @@ get_temp_rel_by_name(char *user_relname)
217212
TempTable *temp_rel = lfirst(l);
218213

219214
if (strcmp(temp_rel->user_relname, user_relname) == 0)
220-
{
221-
elog(NOTICE,"found");
222215
return temp_rel->relname;
223-
}
224216
}
225217
return NULL;
226218
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy