*
*
* 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 $
*
*-------------------------------------------------------------------------
*/
List *l,
*prev;
-elog(NOTICE,"oid = %d", relid);
-
oldcxt = MemoryContextSwitchTo((MemoryContext) CacheCxt);
prev = NIL;
{
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);
TempTable *temp_rel = lfirst(l);
if (strcmp(temp_rel->user_relname, user_relname) == 0)
- {
- elog(NOTICE,"found");
return temp_rel->relname;
- }
}
return NULL;
}