pgsql/src/backend/parser (parse_relation.c)

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

Date: Monday, June 19, 2000 @ 21:41:21
Author: tgl

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

Modified Files:
parse_relation.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 01:41:24 pgsql/src/backend/utils/cache (syscache.c)
Previous Message Tom Lane 2000-06-19 23:40:51 pgsql/src/backend/utils/cache (relcache.c)