# Pg 0.9.0

**URL:** <https://www.ruby-forum.com/t/pg-0-9-0/184316>\
**Category:** Ruby\
**Created:** [February 28, 2010, 8:02pm UTC](https://www.ruby-forum.com/t/pg-0-9-0/184316 "2010-02-28T20:02:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgreenly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/85f322/32.png) [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Post date:** [February 28, 2010, 8:02pm UTC](https://www.ruby-forum.com/t/pg-0-9-0/184316/1 "2010-02-28T20:02:25Z")

</div>

Version 0.9.0 of ruby-pg has been released.

This is the extension library to access a PostgreSQL database from Ruby.  
This  
library works with PostgreSQL 7.4 and later.

== Project Page

[http://bitbucket.org/ged/ruby-pg/](http://bitbucket.org/ged/ruby-pg/)

== Installation

Via gems:

$ sudo gem install pg

or from source:

$ wget [http://deveiate.org/code/pg-0.9.0.tar.gz](http://deveiate.org/code/pg-0.9.0.tar.gz)  
$ tar -xzvf pg-0.9.0.tar.gz  
$ cd pg-0.9.0  
$ sudo rake install

== Changes

=== New Features

- Added support for Ruby 1.9’s multinationalization.
- A new PGconn#wait\_for\_notify method to be used with PostgreSQL’s  
NOTIFY/LISTEN IPC mechanism.
- Added new column-selection methods PGresult#field\_values and  
#column\_values.
- Better error reporting from large-object methods.
- Improved spec coverage and faster spec runs.
- Added a PGconn::VERSION constant

=== Bugfixes

- Arity fix for PGresult#paramtype and PGconn.encrypt\_password.
- PGconn#lo\_read no longer returns garbage at the end of the data if  
told to  
read past the end of a large object.
- PGresult#fmod, #ftable, and #ftablecol now correctly raises an  
exception  
only if the specified index is really invalid.
- Made the block form of PGconn#exec, #exec\_prepared, and #get\_result  
pass the  
PGresult to the block instead of just the first row.
- The asynchronous PGconn.connect\_start now correctly uses  
PQconnectStart()  
instead of PQconnectdb().

=== Miscellaneous

- Moved development over to Mercurial on Bitbucket.
- Made compilation under MacOS X easier by looking for pg\_config.
- Win32 gem now includes a statically-linked libssl and libpq for easier  
installation.

=== Acknowledgements

The features and bugfixes in this release were contributed by a bunch of  
talented people:

- removed\_email\_address@domain.invalid (build fixes)
- removed\_email\_address@domain.invalid (bugfixes)
- Jeff D. (spec fixes)
- Lars Kanis (bugfixes and win32 build)
- Mahlon Smith (wait\_for\_notify)
- Mike Pomraning (bugfixes)
- Nikolai L. (bugfixes, m17n)
- Sugano Yoshihisa (column-selection methods)
- Yuki Miyauchi (bugfixes)
- Yuki S. (m17n)
