Re: pluggable compression support
От | Robert Haas |
---|---|
Тема | Re: pluggable compression support |
Дата | |
Msg-id | CA+TgmoY7hmDCe3EbW6KZwUOWdetha5KBZHJKz5DQVnFBhEMpTA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pluggable compression support (Hannu Krosing <hannu@2ndQuadrant.com>) |
Список | pgsql-hackers |
On Sat, Jun 15, 2013 at 8:22 AM, Hannu Krosing <hannu@2ndquadrant.com> wrote: >> You suddently need to solve the question of how the identifiers for >> compression formats are allocated and preserved across pg_upgrade and >> across machines. > This is something similar we already need to do for any non-builtin type > OID. That's true, but that code has already been written. And it's not trivial. The code involved is CREATE/ALTER/DROP TYPE plus all the corresponding pg_dump mechanism. To do what you're proposing here, we'd need CREATE/ALTER/DROP COMPRESSION METHOD, and associated pg_dump --binary-upgrade support. I think Andres is entirely right to be skeptical about that. It will make this project about 4 times as hard for almost no benefit. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: