Re: BUG #15954: Unable to alter partitioned table to set log

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: BUG #15954: Unable to alter partitioned table to set log
Дата
Msg-id CAKJS1f_PzFNe0kQdt_9EsEtr4xqMd0oBW5umswr=90ycs+MRpA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #15954: Unable to alter partitioned table to set log  ("Efrain J. Berdecia" <ejberdecia@yahoo.com>)
Список pgsql-bugs
On Wed, 14 Aug 2019 at 14:51, Efrain J. Berdecia <ejberdecia@yahoo.com> wrote:
>
> Is there any way to check in the code whether the table is a parent and then allow the execution of the alter
accordingly?

Blocking ALTER TABLE ... SET [UN]LOGGED; on a partitioned table is a
trivial change. The question is, if we were to change this and back
patch then it could break user code.

> Or are you saying that any empty table we would not be able to change the unlogged state?
>
> Should the logic to alter the table just ignore whether the table is empty or not?

Not sure what the table being empty has to do with it.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: easteregg@verfriemelt.org
Дата:
Сообщение: RE: BUG #15953: performance issues using 11.5-1.pgdg+1 over 11.5-1
Следующее
От: "Efrain J. Berdecia"
Дата:
Сообщение: Re: BUG #15954: Unable to alter partitioned table to set logged