Forum: Ruby on Rails PGconn class doesn't recognize all the function export from

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Saiho Y. (Guest)
on 2006-01-17 03:01
(Received via mailing list)
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
This topic is locked and can not be replied to.