Re: [HACKERS] Allow GiST opcalsses without compress\decompresfunctions - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: [HACKERS] Allow GiST opcalsses without compress\decompresfunctions
Date
Msg-id 83E6F524-82C5-474C-9302-55303DF105DF@yandex-team.ru
Whole thread Raw
In response to Re: [HACKERS] Allow GiST opcalsses without compress\decompres functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> 22 окт. 2017 г., в 21:21, Tom Lane <tgl@sss.pgh.pa.us> написал(а):
>
> Andrey Borodin <x4mmm@yandex-team.ru> writes:
>> I was looking for a way to correctly drop compress\decompress functions from opclasses.
>
> Making a new opclass seems like a pretty grotty answer; it won't
> help existing installations.

Unfortunately in cube's case that's the only option: cube allows 100-dimensional cubes, while 94-dimensional cubes
couldbe toasted (according to code). 

> I think what you need is to undo opclasscmds.c's decision that the
> dependencies should be INTERNAL.  I tried this:

Thanks Tom, that's exactly what I need. I'll push patches with this to November commitfest.

Best regards, Andrey Borodin.

--
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 by date:

Previous
From: "Tsunakawa, Takayuki"
Date:
Subject: [HACKERS] [bug fix] ECPG: fails to recognize embedded parameters
Next
From: Craig Ringer
Date:
Subject: Re: [HACKERS] legitimacy of using PG_TRY , PG_CATCH , PG_END_TRY in C function