Re: ruby/postgres - getting assoc array of rows?

Поиск
Список
Период
Сортировка
От CSN
Тема Re: ruby/postgres - getting assoc array of rows?
Дата
Msg-id 20051122084932.93180.qmail@web52901.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: ruby/postgres - getting assoc array of rows?  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-interfaces
It looks like the snapshot version causes problems for Rails :(

http://dev.rubyonrails.org/ticket/2977
http://www.ruby-forum.com/topic/9114#new

reals and numerics get converted to values like nil, 1, 2, true, ...

I had to uninstall it and go back to the 0.71 version. The postgres.so files get installed in
different locations - perhaps I can configure Rails and commandline scripts to load the one they
need.

csn


--- Michael Fuhr <mike@fuhr.org> wrote:

> On Sun, Nov 20, 2005 at 12:28:32PM -0800, CSN wrote:
> > Ah.. I installed the snapshot manually and the script works fine now.
> > They should update the gem version - Jan. 2003 is quite a while ago.
> > Does it matter if the postgres library is installed via 'gem' or not?
> 
> I wouldn't think so, except maybe for how your program loads the
> code (require vs. require_gem).
> 
> -- 
> Michael Fuhr
> 


    
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: ruby/postgres - getting assoc array of rows?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Not clear on what PQgetResult does