2014-03-13 19:23:21 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-pg to 0.17.1
pkgsrc change: Add GEM_EXTSDIR support.
== v0.17.1 [2013-12-18] Michael Granger <ged@FaerieMUD.org>
Bugfixes:
- Fix compatibility with signal handlers defined in Ruby. This reverts
cancelation of queries running on top of the blocking libpq API (like
Connection#exec) in case of signals. As an alternative the #async_exec
can be used, which is reverted to use the non-blocking API, again.
- Wrap PQcancel to be called without GVL. It internally waits for
the canceling connection.
Documentation fixes:
- Fix documentation for PG::Connection::conndefaults.
|
2013-12-08 17:50:14 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Update ruby-pg to 0.17.0.
== v0.17.0 [2013-09-15] Michael Granger <ged@FaerieMUD.org>
Bugfixes:
- Fix crash by calling PQsend* and PQisBusy without GVL (#171).
Enhancements:
- Add method PG::Connection#copy_data.
- Add a Gemfile to allow installation of dependencies with bundler.
- Add compatibility with rake-compiler-dev-box.
- Return self from PG::Result#check instead of nil. This allows
to stack method calls.
|
2013-09-11 17:18:56 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-pg to 0.16.0.
== v0.16.0 [2013-07-22] Michael Granger <ged@FaerieMUD.org>
Bugfixes:
- Avoid warnings about uninitialized instance variables.
- Use a more standard method of adding library and include directories.
This fixes build on AIX (Github #7) and Solaris (#164).
- Cancel the running query, if a thread is about to be killed (e.g. by CTRL-C).
- Fix GVL issue with wait_for_notify/notifies and notice callbacks.
- Set proper encoding on the string returned by quote_ident, escape_literal
and escape_identifier (#163).
- Use nil as PG::Error#result in case of a NULL-result from libpq (#166).
- Recalculate the timeout of conn#wait_for_notify and conn#block in case
of socket events that require re-runs of select().
Documentation fixes:
- Fix non working example for PGresult#error_field.
Enhancements:
- Add unique exception classes for each PostgreSQL error type (#5).
- Return result of the block in conn#transaction instead of nil (#158).
- Allow 'rake compile' and 'rake gem' on non mercurial repos.
- Add support for PG_DIAG_*_NAME error fields of PostgreSQL-9.3 (#161).
|
2013-07-07 17:22:55 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Add build_info file to PLIST.
Bump PKGREVISION.
|
2013-06-16 16:38:10 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-pg to 0.15.0.
== v0.15.0 [2013-03-03] Michael Granger <ged@FaerieMUD.org>
Bugfixes:
- Fix segfault in PG::Result#field_values when called with non String value.
- Fix encoding of messages delivered by notice callbacks.
- Fix text encoding for Connection#wait_for_notify and Connection#notifies.
- Fix 'Bad file descriptor' problems under Windows: wrong behaviour of
#wait_for_notify() and timeout handling of #block on Ruby 1.9.
Documentation fixes:
- conn#socket() can not be used with IO.for_fd() on Windows.
Enhancements:
- Tested under Ruby 2.0.0p0.
- Add single row mode of PostgreSQL 9.2.
- Set fallback_application_name to programm name $0. Thanks to Will Leinweber
for the patch.
- Release Ruby's GVL while calls to blocking libpq functions to allow better
concurrency in threaded applications.
- Refactor different variants of waiting for the connection socket.
- Make use of rb_thread_fd_select() on Ruby 1.9 and avoid deprecated
rb_thread_select().
- Add an example of how to insert array data using a prepared statement (#145).
- Add continous integration tests on travis-ci.org.
- Add PG::Result#each_row for iterative over result sets by row. Thanks to
Aaron Patterson for the patch.
- Add a PG::Connection#socket_io method for fetching a (non-autoclosing) IO
object for the connection's socket.
Specs:
- Fix various specs to run on older PostgreSQL and Ruby versions.
- Avoid fork() in specs to allow usage on Windows and JRuby.
|
2013-04-07 22:49:45 by Blue Rats | Files touched by this commit (91) |
Log message:
Edited DESCR in the case of:
File too long (should be no more than 24 lines).
Line too long (should be no more than 80 characters).
Trailing empty lines.
Trailing white-space.
Trucated the long files as best as possible while preserving the most info
contained in them.
|
2012-09-03 17:13:47 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Update ruby-pg to 0.14.1.
== v0.14.1 [2012-09-02] Michael Granger <ged@FaerieMUD.org>
Important bugfix:
- Fix stack overflow bug in PG::Result#values and #column_values (#135). Thanks
to everyone who reported the bug, and Lars Kanis especially for figuring out
the problem.
PostgreSQL 9.2 beta fixes:
- Recognize PGRES_SINGLE_TUPLE as OK when checking PGresult (Jeremy Evans)
Documentation fixes:
- Add note about the usage scope of the result object received by the
#set_notice_receiver block. (Lars Kanis)
- Add PGRES_COPY_BOTH to documentation of PG::Result#result_status. (Lars Kanis)
- Add some documentation to PG::Result#fnumber (fix for #139)
|
2012-08-21 15:46:20 by Takahiro Kambe | Files touched by this commit (1) |
Log message:
Require ruby-rdoc version 2.5.8 or later to fix build problem with ruby18.
|
2012-08-05 12:02:14 by OBATA Akio | Files touched by this commit (44) |
Log message:
Bump PKGREVISION for change of PostgreSQL default version to 9.1.
|
2012-07-31 15:46:52 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-pg to 0.14.0.
== v0.14.0 [2012-06-17] Michael Granger <ged@FaerieMUD.org>
Bugfixes:
#47, #104
New Methods for PostgreSQL 9 and async API support:
PG
- ::library_version
PG::Connection
- ::ping
- #escape_literal
- #escape_identifier
- #set_default_encoding
PG::Result
- #check
New Samples:
This release also comes with a collection of contributed sample scripts for
doing resource-utilization reports, graphing database statistics,
monitoring for replication lag, shipping WAL files for replication,
automated tablespace partitioning, etc. See the samples/ directory.
|