--- - branch: MAIN date: Sun Sep 23 13:56:53 UTC 2018 files: - new: '1.31' old: '1.30' path: pkgsrc/databases/ruby-pg/Makefile pathrev: pkgsrc/databases/ruby-pg/Makefile@1.31 type: modified - new: '1.17' old: '1.16' path: pkgsrc/databases/ruby-pg/PLIST pathrev: pkgsrc/databases/ruby-pg/PLIST@1.17 type: modified - new: '1.24' old: '1.23' path: pkgsrc/databases/ruby-pg/distinfo pathrev: pkgsrc/databases/ruby-pg/distinfo@1.24 type: modified id: 20180923T135653Z.503da69567c828fe3298ac202109451e0589b3c5 log: | databases/ruby-pg: update to 1.1.3 == v1.1.3 [2018-09-06] Michael Granger - Revert opimization that was sometimes causing EBADF in rb_wait_for_single_fd(). == v1.1.2 [2018-08-28] Michael Granger - Don't generate aliases for JOHAB encoding. This avoids linking to deprecated/private function rb_enc(db)_alias(). == v1.1.1 [2018-08-27] Michael Granger - Reduce deprecation warnings to only one message per deprecation. == v1.1.0 [2018-08-24] Michael Granger Deprecated (disable warnings per PG_SKIP_DEPRECATION_WARNING=1): - Forwarding conn.exec to conn.exec_params is deprecated. - Forwarding conn.exec_params to conn.exec is deprecated. - Forwarding conn.async_exec to conn.async_exec_params. - Forwarding conn.send_query to conn.send_query_params is deprecated. - Forwarding conn.async_exec_params to conn.async_exec is deprecated. PG::Connection enhancements: - Provide PG::Connection#sync_* and PG::Connection#async_* query methods for explicit calling syncronous or asynchronous libpq API. - Make PG::Connection#exec and siblings switchable between sync and async API per PG::Connection.async_api= and change the default to async flavors. - Add async flavors of exec_params, prepare, exec_prepared, describe_prepared and describe_portal. They are identical to their syncronous counterpart, but make use of PostgreSQL's async API. - Replace `rb_thread_fd_select()` by faster `rb_wait_for_single_fd()` in `conn.block` and `conn.async_exec` . - Add PG::Connection#discard_results . - Raise an ArgumentError for strings containing zero bytes by #escape, #escape_literal, #escape_identifier, #quote_ident and PG::TextEncoder::Identifier. These methods previously truncated strings. Result retrieval enhancements: - Add PG::Result#tuple_values to retrieve all field values of a row as array. - Add PG::Tuple, PG::Result#tuple and PG::Result#stream_each_tuple . PG::Tuple offers a way to lazy cast result values. - Estimate PG::Result size allocated by libpq and notify the garbage collector about it when running on Ruby-2.4 or newer. - Make the estimated PG::Result size available to ObjectSpace.memsize_of(result) . Type cast enhancements: - Replace Ruby code by a faster C implementation of the SimpleDecoder's timestamp decode functions. github #20 - Interpret years with up to 7 digists and BC dates by timestamp decoder. - Add text timestamp decoders for UTC vs. local timezone variations. - Add text timestamp encoders for UTC timezone. - Add decoders for binary timestamps: PG::BinaryDecoder::Timestamp and variations. - Add PG::Coder#flags accessor to allow modifications of de- respectively encoder behaviour. - Add a flag to raise TypeError for invalid input values to PG::TextDecoder::Array . - Add a text decoder for inet/cidr written in C. - Add a numeric decoder written in C. - Ensure input text is zero terminated for text format in PG::Coder#decode . Source code enhancements: - Fix headers and permission bits of various repository files. Bugfixes: - Properly decode array with prepended dimensions. #272 For now dimension decorations are ignored, but a correct Array is returned. - Array-Decoder: Avoid leaking memory when an Exception is raised while parsing. Fixes #279 module: pkgsrc subject: 'CVS commit: pkgsrc/databases/ruby-pg' unixtime: '1537711013' user: taca