Is it possible to connect to PostgreSQL database using Ruby under
Windows XP. I need to do simple client for person who can use only
Windows and I consider many solutions (JDBC, Ruby, ODBC in Access and so
on).
Szymon Drejewicz
Is it possible to connect to PostgreSQL database using Ruby under
Windows XP. I need to do simple client for person who can use only
Windows and I consider many solutions (JDBC, Ruby, ODBC in Access and so
on).
Szymon Drejewicz
Yes, you can download a postgres driver for Ruby from
raa.ruby-lang.org. Then you can use the DBI (database-independent)
module (also from RAA) to do nice high-level database programming. Or
you can use the driver directly if you wish.
I don’t see how Windows comes into the picture, but I could be wrong.
Gavin
On Friday, September 19, 2003, 9:57:32 PM, Szymon wrote:
Is it possible to connect to PostgreSQL database using Ruby under
Windows XP. I need to do simple client for person who can use only
Windows and I consider many solutions (JDBC, Ruby, ODBC in Access and so
on).
Szymon Drejewicz wrote:
Is it possible to connect to PostgreSQL database using Ruby under
Windows XP. I need to do simple client for person who can use only
Windows and I consider many solutions (JDBC, Ruby, ODBC in Access and so
on).Szymon Drejewicz
I’v solved my problem by using dbi:ODBC. Ruby is the best :^)
— Gavin Sinclair gsinclair@soyabean.com.au wrote: > On Friday,
September 19, 2003, 9:57:32 PM, Szymon wrote:
Is it possible to connect to PostgreSQL database using Ruby under
Windows XP. I need to do simple client for person who can use only
Windows and I consider many solutions (JDBC, Ruby, ODBC in Access and
so
on).Yes, you can download a postgres driver for Ruby from
raa.ruby-lang.org. Then you can use the DBI (database-independent)
module (also from RAA) to do nice high-level database programming. Or
you can use the driver directly if you wish.I don’t see how Windows comes into the picture, but I could be wrong.
If he means connecting to a database running Postgres from within windows
, he’ll need cygwin installed to provide a means to run it.
– Thomas Adam
Gavin
=====
Thomas Adam
“The Linux Weekend Mechanic” – www.linuxgazette.com
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
If he means connecting to a database running Postgres from within windows
, he’ll need cygwin installed to provide a means to run it.
So I’d like to know how to compile ruby-postgres under Windows using
Cygwin. Has anyone done it befeore? I’ve installed Ruby, Cygwin and I’ve
downloaded ruby-postgres.tar.gz I don’t know how to compile it under
Windows
Is it possible to connect from Windows to PostgreSQL (working on linux)
without usign DBI?
Szymon Drejewicz
— Szymon Drejewicz drejewic@wsisiz.edu.pl wrote: > > If he means
connecting to a database running Postgres from within
windows
, he’ll need cygwin installed to provide a means to run it.
So I’d like to know how to compile ruby-postgres under Windows using
Cygwin. Has anyone done it befeore?
No, but theoretically you could use a cross-compiler under Linux to do it,
OR, perhaps easier using a native windows compiler (borland?) to do it –
unfortunately I only run Linux…
I’ve installed Ruby, Cygwin and I’ve
downloaded ruby-postgres.tar.gz I don’t know how to compile it under
Windows
I assume cygwin ships with GCC (or a variant thereof).
Is it possible to connect from Windows to PostgreSQL (working on linux)
without usign DBI?
Use, of course it is.
– Thomas Adam
Szymon Drejewicz
=====
Thomas Adam
“The Linux Weekend Mechanic” – www.linuxgazette.com
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk