From: Szymon Drejewicz Date: 2003-02-12T19:42:51+09:00 Subject: Re: PostgreSQL and embedded Ruby ts wrote: >>>>>>"S" == Szymon Drejewicz writes: > > > S> VALUE DBconn = Data_Wrap_Struct(rb_cPGconn, 0, free_pgconn, conn); > S> // rb_obj_call_init(DBconn,0,0); > S> VALUE connection = conn; > S> rb_define_variable("$conn",&connection); > ^^^^^^^^^^^ > &DBconn > > S> rb_eval_string("puts '\nTEST\n'"); > S> rb_eval_string("a = $conn.query('select count(*) from > S> studenci')[0][0] \n puts a"); > > > Guy Decoux > > Thanks for reply. I've changed this, but: -e:1: method call on terminated object (NotImplementedError) -e:1: [BUG] Segmentation fault --- Szymon Drejewicz