From gerardo.santana at gmail.com Fri Feb 2 10:43:05 2007 From: gerardo.santana at gmail.com (=?ISO-8859-1?Q?Gerardo_Santana_G=F3mez_Garrido?=) Date: Fri, 2 Feb 2007 09:43:05 -0600 Subject: [Ruby-informix-misc] Using lld_locator In-Reply-To: <5676e67d0701261157m5c6bd83bx254ef0d37fb72cea@mail.gmail.com> References: <5676e67d0701261157m5c6bd83bx254ef0d37fb72cea@mail.gmail.com> Message-ID: 2007/1/26, Marcos Tsuzuki : > Hi All, > Hey Marcos, > I am using regularly the lld_locator data type to store images in > the database. It is possible to use it with you developed driver? > > To retrieve images one can use > casting lld_locator(field_name).lo_pointer::blob > > What means that the query can be modified and return a usual blob. I haven't used lld_locator yet, but it the above returns a usual [Smart] BLOB, Ruby/Informix will instantiate an Slob object. > I would like to know if it is necessary to modify the informix driver > to accept this possibility, or is it possible to adjust just in the > ruby language? Can you test it and tell me? ;-) > > Besides, I do not know how it is possible to insert or update an > image to the database using the lld_locator directly. I would > like to know if you have examples about this kind of problem. As I said before, I haven't used lld_locator. My guess is that if you know before hand that you will use a field for storing images, make it a BLOB. Did that help? -- Gerardo Santana From gerardo.santana at gmail.com Fri Feb 2 10:47:30 2007 From: gerardo.santana at gmail.com (=?ISO-8859-1?Q?Gerardo_Santana_G=F3mez_Garrido?=) Date: Fri, 2 Feb 2007 09:47:30 -0600 Subject: [Ruby-informix-misc] Gentoo Install Instructions In-Reply-To: <45BE3527.5010708@salem.edu> References: <45BE3527.5010708@salem.edu> Message-ID: 2007/1/29, Adam Sommer : > Hello, > Hey Adam, > I posted some instructions to the Gentoo forums on how to get the > Informix clientsdk to work on Gentoo: > > http://forums.gentoo.org/viewtopic.php?t=245249 > > It's not mentioned in the post, but after I was able to get the > clientsdk to install on Gentoo following the ruby-informix install > instructions worked as advertised. I just thought I'd mention it in > case you wanted to update the platforms that ruby-informix works on. > > Thanks, Thank you, Adam. Would you mind sending me the exact information for operating system, architecture, Informix version and CSDK version (to add it to the list)? It would be also of much help if you can checkout the latest code from CVS and run the tests that Edwin Fine has written and report me back. -- Gerardo Santana