Re: Implementation of gtrgm_out for gevel - Mailing list pgsql-general

From Tom Lane
Subject Re: Implementation of gtrgm_out for gevel
Date
Msg-id 18411.1511463494@sss.pgh.pa.us
Whole thread Raw
In response to Implementation of gtrgm_out for gevel  (Dmitry Lazurkin <dilaz03@gmail.com>)
Responses Re: Implementation of gtrgm_out for gevel  (Dmitry Lazurkin <dilaz03@gmail.com>)
Re: Implementation of gtrgm_out for gevel  (Dmitry Lazurkin <dilaz03@gmail.com>)
List pgsql-general
Dmitry Lazurkin <dilaz03@gmail.com> writes:
> I want use gevel (http://www.sai.msu.su/~megera/wiki/Gevel) for investigation of pg_trgm gist. But for gist_print i
needimplement gtrgm_out for pg_trgm gist node. And i have a problem here. 

> 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


pgsql-general by date:

Previous
From: Dmitry Lazurkin
Date:
Subject: Implementation of gtrgm_out for gevel
Next
From: Dmitry Lazurkin
Date:
Subject: Re: Implementation of gtrgm_out for gevel