Skip site navigation (1) Skip section navigation (2)

postgresql 7.1.1 and textout and textin

From: Jaume Teixi <teixi(at)6tems(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: postgresql 7.1.1 and textout and textin
Date: 2001-06-27 13:42:14
Message-ID: 20010627154214.55487464.teixi@6tems.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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>

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 ) );

function I'm trying to port is this one:
http://www.ca.postgresql.org/mhonarc/pgsql-sql/1998-06/msg00119.html


any points to convert textout and textin to 7.1 ?

thanks from barcelona!

jaume.

Responses

pgsql-hackers by date

Next:From: Tatsuo IshiiDate: 2001-06-27 13:50:19
Subject: Re: stuck spin lock with many concurrent users
Previous:From: Alex PilosovDate: 2001-06-27 13:30:04
Subject: Re: AW: functions returning records

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group