Re: contrib module soundex in CVS snapshot (function returning text and TOAST ???) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: contrib module soundex in CVS snapshot (function returning text and TOAST ???)
Date
Msg-id 14726.969294455@sss.pgh.pa.us
Whole thread Raw
In response to contrib module soundex in CVS snapshot (function returning text and TOAST ???)  ("g.p.ciceri" <gp.ciceri@acm.org>)
List pgsql-hackers
"g.p.ciceri" <gp.ciceri@acm.org> writes:
> gcc -c  -I../../src/include  -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -I. -fpic soundex.c -o soundex.o
> soundex.c: In function `text_soundex':
> soundex.c:37: invalid lvalue in assignment
> make: *** [soundex.o] Error 1

> perhaps the interface is changed with TOAST.

Yup --- you can't assign to VARSIZE(ptr) anymore.  Assign to
VARATT_SIZEP(ptr) instead.

Someone needs to go through all the contrib modules and clean up the
ones that don't compile anymore ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ascii to character conversion in postgres
Next
From: "Dan Browning"
Date:
Subject: Feature request: client would like to donate X thousand dollars for development of features Y and Z.