Re: Temporary table error messages different to perm. tables
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Temporary table error messages different to perm. tables |
| Дата | |
| Msg-id | 15545.965529982@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Temporary table error messages different to perm. tables (Philip Warner <pjw@rhyme.com.au>) |
| Список | pgsql-bugs |
Philip Warner <pjw@rhyme.com.au> writes:
> The following seems a little strange (in 7.02/Linux):
> zzz=# create table t1(f1 integer);
> zzz=# create temporary table t2(f1 integer, f2 integer);
> zzz=# Update t1 Set f1 = (select x.junk from t2 x where x.junk2 = t1.f1);
> ERROR: Unable to locate type name 't2' in catalog
This is fixed in current CVS:
regression=# create table t1(f1 integer);
CREATE
regression=# create temporary table t2(f1 integer, f2 integer);
CREATE
regression=# Update t1 Set f1 = (select x.junk from t2 x where x.junk2 = t1.f1);
ERROR: No such attribute or function 'junk'
Problem was that the temp table name mapping has to be applied to type
names as well as table names.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера