Re: [HACKERS] Partitioned tables and relfilenode

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: [HACKERS] Partitioned tables and relfilenode
Дата
Msg-id CA+HiwqFXHagtVj2xPrrTs_0ncpTsWR6SSy6sUQyMFDG0qJuW1A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Partitioned tables and relfilenode  (Maksim Milyutin <m.milyutin@postgrespro.ru>)
Ответы Re: [HACKERS] Partitioned tables and relfilenode  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Список pgsql-hackers
Hi,

On Thu, Mar 23, 2017 at 11:27 PM, Maksim Milyutin
<m.milyutin@postgrespro.ru> wrote:
> Hi!
>
> I have noticed that there is scheduled unlinking of nonexistent physical
> storage under partitioned table when we execute DROP TABLE statement on this
> partitioned table. Though this action doesn't generate any error under
> typical behavior of postgres because the error of storage's lack is caught
> through if-statement [1] I think it is not safe.
>
> My patch fixes this issue.
>
> 1. src/backend/storage/smgr/md.c:1385

Good catch, will incorporate that in the main patch.

Thanks,
Amit



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: [HACKERS] Schedule and Release Management Team for PG10
Следующее
От: Jesper Pedersen
Дата:
Сообщение: Re: [HACKERS] Page Scan Mode in Hash Index