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

From: Tom Lane <tgl>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/utils/cache (syscache.c)
Date: 2000-06-20 01:41:24
Message-ID: 200006200141.e5K1fOR28714@hub.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2000-06-20 04:22:14 pgsql/src/include/optimizer (prep.h)
Previous Message Tom Lane 2000-06-20 01:41:22 pgsql/src/backend/parser (parse_relation.c)