From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dmitry Lazurkin <dilaz03@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Implementation of gtrgm_out for gevel
Date: Thu, 23 Nov 2017 13:58:14 -0500
Message-ID: <18411.1511463494@sss.pgh.pa.us> (raw)
In-Reply-To: <10364b81-1625-9511-9b33-e76b7048be50@gmail.com>
References: <10364b81-1625-9511-9b33-e76b7048be50@gmail.com>
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 need implement 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, dilaz03@gmail.com
Subject: Re: Implementation of gtrgm_out for gevel
In-Reply-To: <18411.1511463494@sss.pgh.pa.us>
References: <10364b81-1625-9511-9b33-e76b7048be50@gmail.com> <18411.1511463494@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox