Re: Allow GiST opcalsses without compress\decompres functions

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>, Dmitriy Sarafannikov <dsarafannikov(at)yandex(dot)ru>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Allow GiST opcalsses without compress\decompres functions
Date: 2017-10-23 08:13:56
Message-ID: 83E6F524-82C5-474C-9302-55303DF105DF@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> 22 окт. 2017 г., в 21:21, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> написал(а):
>
> Andrey Borodin <x4mmm(at)yandex-team(dot)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 could be 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2017-10-23 08:16:10 Re: legitimacy of using PG_TRY , PG_CATCH , PG_END_TRY in C function
Previous Message Tsunakawa, Takayuki 2017-10-23 08:01:04 [bug fix] ECPG: fails to recognize embedded parameters