Re: [HACKERS] Custom compression methods

Поиск
Список
Период
Сортировка
От Adam Brusselback
Тема Re: [HACKERS] Custom compression methods
Дата
Msg-id CAMjNa7cPynatwNDm9JQn2eJRu7Y5ARcw09Nbg5q8O_DfiY6=ww@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Custom compression methods  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
> If there's no data compressed
> using the compression method you dropped, everything is cool -
> otherwise everything is broken and there's no way to recover.
> The only obvious alternative is to disallow DROP altogether (or make it
> not really DROP).

Wouldn't whatever was using the compression method have something
marking which method was used? If so, couldn't we just scan if there is
any data using it, and if so disallow the drop, or possibly an option to allow
the drop and rewrite the table either uncompressed, or with the default
compression method?


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: Re: [HACKERS] Statement-level rollback
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] Restricting maximum keep segments by repslots