Thread: pgsql/src/backend/utils/cache (syscache.c)

pgsql/src/backend/utils/cache (syscache.c)

From
Tom Lane
Date:
  Date: Monday, June 19, 2000 @ 21:41:22
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/cache
     from hub.org:/home/projects/pgsql/tmp/cvs-serv28686/utils/cache

Modified Files:
    syscache.c

-----------------------------  Log Message  -----------------------------

Fix handling of type tuple associated with a temp relation.  We have
to apply the tempname->realname mapping to type name lookup as well
as relation name lookup, else the type tuple will not be found when
wanted.  This fixes bugs like this one:
create temp table foo (f1 int);
select foo.f2 from foo;
ERROR:  Unable to locate type name 'foo' in catalog