Re: Better error message for select_common_type()

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Better error message for select_common_type()
Дата
Msg-id 87lkgi3ifb.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Better error message for select_common_type()  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Better error message for select_common_type()  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
"Peter Eisentraut" <peter_e@gmx.net> writes:

> peter=# values(0,1), (1::bigint,2), ('text'::text,3);
> ERROR:  42804: VALUES types bigint at position 2 and text at position 3 
> cannot be matched in instance 1
>
> I'm not sure about the terminology "position" and "instance"; they're 
> just two coordinates to get at the problem.

Wouldn't that just be column 1 in rows 2 and 3?

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Better error message for select_common_type()
Следующее
От: Neil Conway
Дата:
Сообщение: RETURN QUERY in PL/PgSQL?