Re: Segfault on updating foreign table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Segfault on updating foreign table
Дата
Msg-id 12802.1580063193@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Segfault on updating foreign table  (Lukáš Sobotka <sobotka.luk@gmail.com>)
Список pgsql-bugs
=?UTF-8?B?THVrw6HFoSBTb2JvdGth?= <sobotka.luk@gmail.com> writes:
> I tried to synchronize two tables on different databases using foreign data
> wrapper. I executed update of foreign table with sub-query selection from
> local table. As the result I got segmentation fault. General query:
> UPDATE foreign_table SET (col) = (
>     SELECT col
>         FROM local_table
>         WHERE foreign_table.id = local_table.id
> );

Yup, that's a bug.  Will fix, thanks for the report!

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16233: Yet another "logical replication worker" was terminated by signal 11: Segmentation fault
Следующее
От: Eduardo Lúcio Amorim Costa
Дата:
Сообщение: Re: SQL/PostgreSQL - Error observed in the QUERY not caught by the “EXCEPTION” block in the stored procedure