Version 0.11.0 of pg, the PostgreSQL database driver, has been released.
## Project Page
http://bitbucket.org/ged/ruby-pg/
## Installation
$ sudo gem install pg
Some environments (MacOS X in particular) may need to provide the path to
their 'pg_config', their architecture flags, or both.
For example, on MacOS X 10.6 with PostgreSQL 9.0.x installed via MacPorts:
$ sudo env ARCHFLAGS="-arch x86_64" gem install pg -- \
--with-pg-config=/opt/local/lib/postgresql90/bin/pg_config
When reporting problems installing or building the gem from source, please
include the command line you used to install, and the mkmf.log from the gem
directory.
Thanks to Lars Kanis, 0.11.0 is available as a statically-compiled fat binary
gem for Windows again.
## Release Notes
New features:
* Added a new method (PGresult#values) for fetching returned values as an Array
of Arrays. (Jason Yanowitz)
Bug Fixes:
* [CRITICAL] Fix option-parsing code for PGconn::connect and
PGconn::connect_start so they no longer segfault when passing no arguments
or an Array of less than seven parameters.
* Use CRT sockets for functions that use rb_thread_select() under windows.
(Greg Hazel)
* Fix the windows static binary gem builds (Lars Kanis)