Displaying 2 results from an estimated 2 matches for "pqescapebytea".
Did you mean:
pqunescapebytea
2008 Jun 12
1
ruby-postgres gem installation on Leopard
...e
make
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/
usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_LIBPQ_FE_H -
DHAVE_LIBPQ_LIBPQ_FS_H -I/usr/local/pgsql/include -fno-common -arch
ppc -arch i386 -Os -pipe -fno-common -Wall -c libpq-compat.c
libpq-compat.c: In function ‘PQescapeBytea’:
libpq-compat.c:104: warning: implicit declaration of function
‘sprintf’
libpq-compat.c:104: warning: incompatible implicit declaration of
built-in function ‘sprintf’
libpq-compat.c:104: warning: pointer targets in passing argument 1 of
‘sprintf’ differ in signedness
libpq-compat.c: In function ‘P...
2009 Feb 07
2
installing ruby-postgres gem
...h
blah
blah etc
postgres.c:31: error: conflicting types for ‘pg_encoding_to_char’
/usr/include/postgresql/libpq-fe.h:518: error: previous declaration of
‘pg_encoding_to_char’ was here
postgres.c: In function ‘pgconn_s_escape_bytea’:
postgres.c:370: warning: pointer targets in passing argument 1 of
‘PQescapeBytea’ differ in signedness
postgres.c: In function ‘pgconn_s_unescape_bytea’:
postgres.c:401: warning: pointer targets in passing argument 1 of
‘PQunescapeBytea’ differ in signedness
make: *** [postgres.o] Error 1
Presumably some people have installed Postgresql and got it to work with
Ruby. Does anyon...