Re: ERROR: JOIN/USING types 'integer' and 'character

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: JOIN/USING types 'integer' and 'character
Дата
Msg-id 19629.1071240708@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ERROR: JOIN/USING types 'integer' and 'character  (Oliver Elphick <olly@lfix.co.uk>)
Список pgsql-general
Oliver Elphick <olly@lfix.co.uk> writes:
> I think the error means that you are joining on columns of differing
> types.  (E.g.: SELECT * FROM a JOIN b ON a.id = b.id, where a.id and
> b.id are of different types.)

More specifically, SELECT ... FROM a JOIN b USING (foo), where a.foo
and b.foo are of incompatible types.  The result of the JOIN is supposed
to have just one merged column "foo", but Postgres can't figure out what
type to make that column.

            regards, tom lane

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

Предыдущее
От: Josué Maldonado
Дата:
Сообщение: Uninstall postgres 7.4
Следующее
От: Chris Travers
Дата:
Сообщение: Re: [NOVICE] PostgreSQL Training