Re: BUG #16655: pg_dump segfault when excluding postgis table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #16655: pg_dump segfault when excluding postgis table
Дата
Msg-id 2007400.1602019564@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #16655: pg_dump segfault when excluding postgis table  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #16655: pg_dump segfault when excluding postgis table  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #16655: pg_dump segfault when excluding postgis table  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-bugs
I wrote:
> 0001 is sufficient to get past the proposed test case in 0002.  However,
> I think processExtensionTables is also buggy here.  It does need to set
> the "interesting" flag to true if it decides we need to dump the table's
> data, because we have to have the per-attribute data to support that,
> and "interesting" might not ever get set true on the table otherwise.
> But *it is not OK to set "interesting" to false just because we don't
> decide to dump the data*.  If it's been set true for some other reason,
> that other reason didn't just vanish.  So I think we also need 0003.

Upon excavating in the git history, I discovered that that error was
introduced in 3eb3d3e78 [1], which explains why the OP thought it was
new in v13 --- no other branch has shipped the buggy code yet.

It's not entirely clear to me why we don't get a crash on the case in
pre-v12 branches, but I'm inclined to apply these patches all the way
back anyway, as they definitely seem like robustness improvements
whether or not a given branch accidentally fails to fail.

            regards, tom lane

[1] https://www.postgresql.org/message-id/flat/18048b44-3414-b983-8c7c-9165b177900d%402ndQuadrant.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16655: pg_dump segfault when excluding postgis table
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16657: Index not reflecting update when date to timestamp comparison operation used in index scan