Version 0.10.1 of pg has been released.
Pg is the extension library to access a PostgreSQL database from Ruby.
This
library works with PostgreSQL 7.4 and later. This will be the last
version of
the driver to support versions of PostgreSQL that have reached their
End-Of-Life:
PostgreSQL Release Support Policy - PostgreSQL wiki
Currently, that means only versions 8.2 or later.
Contributing
You can check out the source with Mercurial, file bugs, and suggest new
features via the project page on Bitbucket:
https://bitbucket.org/ged/ruby-pg/
If you prefer Git, you can use the Github mirror:
GitHub - ged/ruby-pg: A PostgreSQL client library for Ruby
Installation
$ sudo gem install pg
Changes
Bugfixes:
- Change use of rb_yield_splat() to rb_yield_values() for compatibility
with
Rubinius. (fixes #54) - Fix require for natively-compiled extension under Windows. (fixes #55)
- Fix compatibility with versions of PostgreSQL without PQgetCancel.
(fixes
#36)
Miscellaneous:
- Greatly simplified the extconf.rb, as it was making it difficult to
compile
on some platforms, and not really heading off problems for people
compiling
with the wrong architecture flags on OSX. I’ll work on better
diagnosis and
error reporting for the next release.