Re: Server crash when using dblink_build_sql_* after alter table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Server crash when using dblink_build_sql_* after alter table
Дата
Msg-id 15794.1276536987@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Server crash when using dblink_build_sql_* after alter table  (Robert Voinea <robert.voinea@topex.ro>)
Список pgsql-admin
Robert Voinea <robert.voinea@topex.ro> writes:
> I attached the server log (for the crash case) and a test case with logs.
> For that test case this is the error I get, no server crash.

> ERROR:  invalid memory alloc request size 4294967293

> The scenario is this:
> Create a table, drop a column, any column then add a varchar column and an int
> column. Then use dblink_build_sql_update.

Yeah, it looks like dblink is simply wrong about how to count the
columns in a case with dropped columns.  Thanks for the report, will
fix.

            regards, tom lane

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

Предыдущее
От: Robert Voinea
Дата:
Сообщение: Re: Server crash when using dblink_build_sql_* after alter table
Следующее
От: Ricardo Bayley
Дата:
Сообщение: Rules