Re: [PATCH] ALTER TABLE ... SET STORAGE default

Поиск
Список
Период
Сортировка
От Nikita Malakhov
Тема Re: [PATCH] ALTER TABLE ... SET STORAGE default
Дата
Msg-id CAN-LCVM1J-W5vRZGdtHAc+Drj+eQGYVsWBB6pU19sBYrW0RzJw@mail.gmail.com
обсуждение исходный текст
Ответ на [PATCH] ALTER TABLE ... SET STORAGE default  (Aleksander Alekseev <aleksander@timescale.com>)
Ответы Re: [PATCH] ALTER TABLE ... SET STORAGE default  (Aleksander Alekseev <aleksander@timescale.com>)
Список pgsql-hackers
Hi hackers!

This seems a little bit confusing and thus very unfriendly for the user, because the actual meaning
of the same 'DEFAULT' option will be different for each data type, and to check storage mode user
has to query full table (or column) description.
I'd rather add a paragraph in documentation describing each data type default storage mode.

On Mon, Aug 22, 2022 at 3:34 PM Aleksander Alekseev <aleksander@timescale.com> wrote:
Hi hackers,

I noticed that we support 'ALTER TABLE ... SET COMPRESSION default'
syntax, but not 'SET STORAGE default' which seems to be a bit
inconsistent. When the user changes the storage mode for a column
there is no convenient way to revert the change.

The proposed patch fixes this.

--
Best regards,
Aleksander Alekseev


--
Regards,
Nikita Malakhov

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

Предыдущее
От: "kuroda.hayato@fujitsu.com"
Дата:
Сообщение: RE: Perform streaming logical transactions by background workers and parallel apply
Следующее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [PATCH] ALTER TABLE ... SET STORAGE default