diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-06-20 01:41:22 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-06-20 01:41:22 +0000 |
commit | 996659f2556843490827eb5027b53bac4b10783d (patch) | |
tree | 54fc74b0573dd91922b7401e975013d92eb9f254 /src/backend/commands/variable.c | |
parent | a1dfaef6c6e2da34dbc808f205665a6c96362149 (diff) | |
download | postgresql-996659f2556843490827eb5027b53bac4b10783d.tar.gz postgresql-996659f2556843490827eb5027b53bac4b10783d.zip |
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
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions