PGconn class doesn't recognize all the function export from


#1

Hi,

I’m trying to write a new postgresql adapter which
interited the old postgres adapter and I try to use
the PGconn class, But I find out I can’t access to
some of the exported functions in postgres.so (I’m
using LINUX) In fact, only the methode export with
rb_define_singleton_method can be used, only function
s exported with rb_define_method, the PGconn ruby
class doesn’t recognise it as the function. when I
export all the methods name of PGconn class, I can
only see the methods exported with
rb_define_singleton_method.

Can someone know why???

Thanks you very much

Saiho


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com