Well...
grep PQescapeString /usr/include/*.h
/usr/include/libpq-fe.h:extern size_t PQescapeString(char *to, const char *from, size_t length);
nm -p /usr/lib/libpq.so | grep PQescapeString
00007070 T PQescapeString
So I'm guessing you need to supply more info!
tp writes:
> Hi,
>
> http://www.postgresql.org/idocs/index.php?libpq-exec.html#LIBPQ-EXEC-ESCAPE-STRING
>
> this function is not defined in the *.h and:
> $ nm -p /usr/lib/libpq.so | grep -i escape
> $
>
> is not compiled in the library.
>
> Am I missing something?
>
> -tp
>