Re: Deadlock risk while inserting directly into partition?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Deadlock risk while inserting directly into partition?
Дата
Msg-id 2537253.1624487931@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Deadlock risk while inserting directly into partition?  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Deadlock risk while inserting directly into partition?  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> I've recently been thinking it would be good if you were unable to
> access partitions directly by name at all.

I strongly disagree.  That's essentially betting the whole farm on
our always being able to optimize parent-level operations fully,
which I do not think we are anywhere close to.

> That would also get around
> the problem of having to lock all non-pruned partitions during queries
> to the partitioned table. Maybe it's too late for that though.

Yeah, I think we are locked into the current design now, for better
or worse.

            regards, tom lane



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Deadlock risk while inserting directly into partition?
Следующее
От: David Rowley
Дата:
Сообщение: Re: Deadlock risk while inserting directly into partition?