PQescapeString() and others?!

Поиск
Список
Период
Сортировка
Искать

PQescapeString() and others?!

От:
tp <tp@emaze.net>
Дата:
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?!

От:
Lee Kindness <lkindness@csl.co.uk>
Дата:
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 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 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> 

Re: PQescapeString() and others?!

От:
tp <tp@emaze.net>
Дата:
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.
> 
FAQ