Re: long sql "in" clause crashes server process (8.0 Release)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: long sql "in" clause crashes server process (8.0 Release)
Дата
Msg-id 20518.1106776759@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: long sql "in" clause crashes server process (8.0 Release)  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-hackers-win32
"Magnus Hagander" <mha@sollentuna.net> writes:
> On MingW, you add:
> -Wl,--stack=4194304
> to get 4Mb stack. At least the value increases in the header.

> And I can confirm that doing this fixes the problem and turns it into
> the error message about stack size. (But won't things crash again if I
> increase that one? Or will it increase the stack manually then?)

> Patch attached.

Applied.  Some googling confirmed that cygwin uses this switch too,
so I added it in that makefile branch as well.  The references I found
suggested a slightly different syntax: -Wl,--stack,4194304.  It's
likely that the "=" variant works fine on cygwin too, but just for
paranoia's sake I followed the references.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Opening stdin/stdout in binary mode on Windows
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: why postgresql does not run as local sysetm.