Re: [HACKERS] Custom compression methods

2017-11-20 Thread Евгений Шишкин
> On Nov 20, 2017, at 18:29, Tomas Vondra wrote: > >> >> What about instead of dropping column we leave data uncompressed? >> > > That requires you to go through the data and rewrite the whole table. > And I'm not aware of a DROP command doing that, instead they just drop > the dependent obj

Re: [HACKERS] Custom compression methods

2017-11-20 Thread Евгений Шишкин
> On Nov 20, 2017, at 18:18, Tomas Vondra wrote: > > > I don't think we need to do anything smart here - it should behave just > like dropping a data type, for example. That is, error out if there are > columns using the compression method (without CASCADE), and drop all the > columns (with CA