Dear Yeb,
Thanks for the answer.
On Sat, Dec 11, 2010 at 3:10 PM, Yeb Havinga wrote:
> On 2010-12-11 06:09, Greg Landrum wrote:
>> I guess I must be doing something stupid, but neither the docs nor the
>> internet have been particularly helpful in letting me know what.
>
&g
Hi,
I'm attempting to expand an existing postgresql extension and I've run
into a wall with the way operator classes should be defined for GiST
indices.
What I have that works is the following two operators:
CREATE OPERATOR <@ (
LEFTARG = mol,
RIGHTARG = mol,
PROCEDURE = r
Tom Lane wrote:
"Felix E. Klee" <[EMAIL PROTECTED]> writes:
BTW, a more future-proof way of doing what you want:
VarChar *text = PG_GETARG_VARCHAR_P(0);
int text_len = VARSIZE(text)-VARHDRSZ;
char *tmp_text = (char *)malloc(text_len+1);
if (tmp_text == NULL)
; /* What now?