| From: | Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru> |
|---|---|
| To: | Andrey Borodin <x4mmm(at)yandex-team(dot)ru> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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-09-20 09:58:57 |
| Message-ID: | CAPpHfdsvyfCh+M6nRPKQQG9yLdBB71fAYyUUbiEEen37YhA=Kw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Sep 20, 2017 at 12:43 PM, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
wrote:
> Hello Tom! Thanks for committing the patch!
>
> > 20 сент. 2017 г., в 8:38, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> написал(а):
> >
> > Andrey Borodin <x4mmm(at)yandex-team(dot)ru> writes:
> >> [ 0001-Allow-uncompressed-GiST-4.patch ]
> >
> > ... There's still room
> > to improve the contrib opclasses
>
> I have one important question regarding compress\decompres functions.
>
> You mentioned that probably there cannot be TOASTed values in the index.
> I need to settle this question in more deterministic way.
> Can you point where to look at the code or who to ask:
> Can there be TOASTed values in index tuples?
>
> If answer is NO, we can get rid of much more useless code.
>
And get rid of misleading comments too. For instance, this comment in
hstore_gist.c seems misleading for me.
#define SIGLENINT 4 /* >122 => key will *toast*, so very slow!!! */
------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?= | 2017-09-20 10:26:46 | Re: Show backtrace when tap tests fail |
| Previous Message | Craig Ringer | 2017-09-20 09:54:09 | Re: Error: dsa_area could not attach to a segment that has been freed |