postgresql 7.1.1 and textout and textin

Поиск
Список
Период
Сортировка
От Jaume Teixi
Тема postgresql 7.1.1 and textout and textin
Дата
Msg-id 20010529114345.3daad57e.teixi@6tems.com
обсуждение исходный текст
Ответы Re: postgresql 7.1.1 and textout and textin  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Luis Sousa
Дата:
Сообщение: Listing rules !!!
Следующее
От: "Hartwig Jens"
Дата:
Сообщение: AW: Listing rules !!!