[ANN] pg 0.10.0

Version 0.10.0 of pg, the PostgreSQL client library, has been released.

== Project Page

  http://bitbucket.org/ged/ruby-pg/

== Installation

  $ sudo gem install pg

If your compilation environment can't find the PostgreSQL client library, you
might have to show it where to look like so:

  $ sudo gem install pg -- \
    --with-pg-config=/opt/local/lib/postgresql90/bin/pg_config

Note that this release does not include Windows binaries, as I wasn't able to get it to cross-compile with PostgreSQL-9.0.1 and OpenSSL-1.0.0a. I've spent nearly three weeks trying to get it working, and I didn't want to delay the release any longer because of it. Patches welcomed.

== Changes

* Fixes for Ruby 1.9.2
* Updated for PostgreSQL 9.0
* Integrated support for Ruby 1.9's Encoding.default_internal. If you have
  a default_internal encoding set, it will be used for the client_encoding
  of new synchronous connections. Asynchronous connections will have to set
  client_encoding themselves, however, as it needs to be done after the
  connection is established.
* Updated some of the examples
* Updated the tests for RSpec 2

thanks for this excellent library michael!

···

On Dec 1, 4:43 pm, Michael Granger <g...@FaerieMUD.org> wrote:

Version 0.10.0 of pg, the PostgreSQL client library, has been released.

== Project Page

http://bitbucket.org/ged/ruby-pg/

== Installation

$ sudo gem install pg

If your compilation environment can't find the PostgreSQL client library, you
might have to show it where to look like so:

$ sudo gem install pg -- \
--with-pg-config=/opt/local/lib/postgresql90/bin/pg_config

Note that this release does not include Windows binaries, as I wasn't able to get it to cross-compile with PostgreSQL-9.0.1 and OpenSSL-1.0.0a. I've spent nearly three weeks trying to get it working, and I didn't want to delay the release any longer because of it. Patches welcomed.

== Changes

* Fixes for Ruby 1.9.2
* Updated for PostgreSQL 9.0
* Integrated support for Ruby 1.9's Encoding.default_internal. If you have
a default_internal encoding set, it will be used for the client_encoding
of new synchronous connections. Asynchronous connections will have to set
client_encoding themselves, however, as it needs to be done after the
connection is established.
* Updated some of the examples
* Updated the tests for RSpec 2

for deb/ubuntu, they might need to install libpq-dev

many thanks for pg
best regards -botp

···

On Thu, Dec 2, 2010 at 7:43 AM, Michael Granger <ged@faeriemud.org> wrote:

If your compilation environment can't find the PostgreSQL client library, you
might have to show it where to look like so:

$ sudo gem install pg -- \
--with-pg-config=/opt/local/lib/postgresql90/bin/pg_config

Most of the credit belongs to Jeff Davis, the PostgreSQL genius that
wrote the majority of the binding. I'm just tending his temple while
he's away doing other godlike stuff. :slight_smile:

But thanks, it's a lot of fun to work on!

···

On 12/1/10 9:48 PM, ara.t.howard wrote:

thanks for this excellent library michael!

--
Michael Granger <ged@FaerieMUD.org>
Rubymage, Architect, Believer
The FaerieMUD Consortium <http://FaerieMUD.org/&gt;

Very true; thanks for pointing that out. Similarly, on other platforms,
installing this requires that you have the headers for the PostgreSQL
client library (libpq).

···

On 12/1/10 10:10 PM, botp wrote:

for deb/ubuntu, they might need to install libpq-dev

--
Michael Granger <ged@FaerieMUD.org>
Rubymage, Architect, Believer
The FaerieMUD Consortium <http://FaerieMUD.org/&gt;