postgresql 7.1.1 and textout and textin - Mailing list pgsql-admin

From Jaume Teixi
Subject postgresql 7.1.1 and textout and textin
Date
Msg-id 20010529114345.3daad57e.teixi@6tems.com
Whole thread Raw
Responses Re: postgresql 7.1.1 and textout and textin
List pgsql-admin
Hello,

trying to migrate production servers form 7.0.2 to 7.1.1 now I need to
compile an function written in c and when compiling using following
includes:

#include <postgres.h>
#include <utils/builtins.h>
#include <utils/palloc.h>
#include <string.h>            //now doesn't exist ? here the mistake ?

I get following compile errors:

c:82: warning: passing arg 1 of `textout' from incompatible pointer type

line 82:  src = textout( src_string );

c:238: warning: passing arg 1 of `textin' from incompatible pointer type

line 238:  return( (text *)textin( ret ) );



thanks!

jaume.

pgsql-admin by date:

Previous
From: Luis Sousa
Date:
Subject: Listing rules !!!
Next
From: "Hartwig Jens"
Date:
Subject: AW: Listing rules !!!