Re: Implementation of gtrgm_out for gevel

From: Dmitry Lazurkin <dilaz03(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Implementation of gtrgm_out for gevel
Date: 2017-11-23 19:12:40
Message-ID: 0abdde54-0003-2447-824a-9fd0fc9bc4c3@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 23.11.2017 21:58, Tom Lane wrote:
> Dmitry Lazurkin <dilaz03(at)gmail(dot)com> writes:
>> Datum
>> gtrgm_out(PG_FUNCTION_ARGS)
>> {
>>     GISTENTRY  *entry = (GISTENTRY *) PG_GETARG_POINTER(0); /* I think entry is pointer to bad memory */
> The argument is TRGM *, I think ... certainly not GISTENTRY *.
>
> regards, tom lane

Hmm. I will try to debug gist_print.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nikita 2017-11-23 22:11:06 pg_total_relation_size accuracy guarantee
Previous Message Tom Lane 2017-11-23 18:58:14 Re: Implementation of gtrgm_out for gevel