postgresql 7.1.1 and textout and textin

From: Jaume Teixi <teixi(at)6tems(dot)com>
To: psql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: postgresql 7.1.1 and textout and textin
Date: 2001-05-29 09:43:45
Message-ID: 20010529114345.3daad57e.teixi@6tems.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Hartwig Jens 2001-05-29 10:22:11 AW: Listing rules !!!
Previous Message Luis Sousa 2001-05-29 09:23:27 Listing rules !!!