Re: shared tempfile was not removed on statement_timeout

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: shared tempfile was not removed on statement_timeout
Дата
Msg-id CA+hUKGJPzYo-qz63tp9052i8FKehRyUw4djo8a474xvRCZ+vHQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: shared tempfile was not removed on statement_timeout  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: shared tempfile was not removed on statement_timeout  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
On Tue, Jul 21, 2020 at 4:33 PM Justin Pryzby <pryzby@telsasoft.com> wrote:
>  /*
>   * clean up a spool structure and its substructures.
>   */
>  static void
>  _bt_spooldestroy(BTSpool *btspool)
>  {
> +       void *fileset = tuplesort_shared_fileset(btspool->sortstate);
> +       if (fileset)
> +               SharedFileSetDeleteAll(fileset);
>         tuplesort_end(btspool->sortstate);
>         pfree(btspool);
>  }

Why can't tuplesort_end do it?



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

Предыдущее
От: Mahendra Singh Thalor
Дата:
Сообщение: Re: display offset along with block number in vacuum errors
Следующее
От: Hamid Akhtar
Дата:
Сообщение: Re: Should we remove a fallback promotion? take 2