Thread: PQescapeString() and others?!

PQescapeString() and others?!

From
tp
Date:
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


PQescapeString() and others?!

From
Lee Kindness
Date:
Well...
grep PQescapeString /usr/include/*.h/usr/include/libpq-fe.h:extern size_t PQescapeString(char *to, const char *from,
size_tlength);nm -p /usr/lib/libpq.so | grep PQescapeString00007070 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
isnot defined in the *.h and:> $ nm -p /usr/lib/libpq.so | grep -i escape> $> > is not compiled in the library.> > Am I
missingsomething?> > -tp> 
 


Re: PQescapeString() and others?!

From
tp
Date:
Oops, it's not included in 7.1.2 but in 7.2.1, my fault :(


-tp

> 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.
>