Re: Backend crash on query with UNION subselect

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Backend crash on query with UNION subselect
Дата
Msg-id 15689.979312321@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Backend crash on query with UNION subselect  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> There are two nearly identical tables, differ from each other by the
> length of corresponding fields of type CHARACTER (one has
> CHARACTER(20) field, other has CHARACTER(30) field).
> when i do "select * from table1 union select * from table2" backend
> crashes with message:
> FATAL 1: Memory exhausted in AllocSetAlloc()
> When char fileds have the same size, crash does not occur.
> This bug takes place on 7.0.2 and 7.0.3 versions

This is fixed for 7.1.  Older versions have quite a few problems with
cross-datatype UNIONs :-(

            regards, tom lane

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Backend crash on query with UNION subselect
Следующее
От: Chris Anderson
Дата:
Сообщение: possible database corruption