<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pkgsrc/databases/ruby-pg/PLIST, branch trunk</title>
<subtitle>[no description]</subtitle>
<id>https://git.osdyson.ru/mirror/pkgsrc/atom?h=trunk</id>
<link rel='self' href='https://git.osdyson.ru/mirror/pkgsrc/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/'/>
<updated>2022-08-11T04:00:18Z</updated>
<entry>
<title>databases/ruby-pg: update to 1.4.3</title>
<updated>2022-08-11T04:00:18Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2022-08-11T04:00:18Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=3fb56b154e33ddefad7da2ad6532715da06d02b2'/>
<id>urn:sha1:3fb56b154e33ddefad7da2ad6532715da06d02b2</id>
<content type='text'>
pkgsrc change: Update HOMEPAGE to GitHUb.

Here are quote from changes of two minor release, for full change, please
refer: &lt;https://github.com/ged/ruby-pg/blob/master/History.rdoc&gt;.

1.4.0 (2022-06-20)

Added:
* Add PG::Connection#hostaddr, present since PostgreSQL-12. #453
* Add PG::Connection.conninfo_parse to wrap PQconninfoParse. #453

Bugfixes:
* Try IPv6 and IPv4 addresses, if DNS resolves to both. #452
* Re-add block-call semantics to PG::Connection.new accidently removed in pg-1.3.0. #454
* Handle client error after all data consumed in #copy_data for output. #455
* Avoid spurious keyword argument warning on Ruby 2.7. #456
* Change connection setup to respect connect_timeout parameter. #459
* Fix indefinite hang in case of connection error on Windows #458
* Set connection attribute of PG::Error in various places where it was missing. #461
* Fix transaction leak on early break/return. #463
* Update Windows fat binary gem to OpenSSL-1.1.1o and PostgreSQL-14.4.

Enhancements:
* Don't flush at each put_copy_data call, but flush at get_result. #462

1.3.0 (2022-01-20)

Install Enhancements:
* Print some install help if libpq wasn't found. #396 This should help to
  pick the necessary package without googling.
* Update Windows fat binary gem to OpenSSL-1.1.1m and PostgreSQL-14.1.
* Add binary Windows gems for Ruby 3.0 and 3.1.
* Make the library path of libpq available in ruby as
  PG::POSTGRESQL_LIB_PATH and add it to the search paths on Windows similar
  to rpath on Unix systems. #373
* Fall back to pkg-config if pg_config is not found. #380
* Add option to extconf.rb to disable nogvl-wrapping of libpq functions. All
  methods (except PG::Connection.ping) are nonblocking now, so that GVL
  unlock is in theory no longer necessary. However it can have some
  advantage in concurrency, so that GVL unlock is still enabled by
  default. Use:

	gem inst pg – –disable-gvl-unlock

API Enhancements:

* Add full compatibility to Fiber.scheduler introduced in Ruby-3.0. #397
* Add support for pipeline mode of PostgreSQL-14. #401
* Allow specification of multiple hosts in PostgreSQL URI. #387
* Add new method conn.backend_key - used to implement our own cancel method.

Type cast enhancements:
* Add PG::BasicTypeMapForQueries::BinaryData for encoding of bytea columns. #348
* Reduce time to build coder maps and permit to reuse them for several type
  maps per PG::BasicTypeRegistry::CoderMapsBundle.new(conn) . #376
* Make BasicTypeRegistry a class and use a global default instance of
  it. Now a local type registry can be instanciated and given to the type
  map, to avoid changing shared global states.
* Allow PG::BasicTypeMapForQueries to take a Proc as callback for undefined types.

Other Enhancements:
* Convert all PG classes implemented in C to TypedData objects. #349
* Support ObjectSpace.memsize_of(obj) on all classes implemented in C. #393
* Make all PG objects implemented in C memory moveable and therefore
  GC.compact friendly. #349
* Update errorcodes and error classes to PostgreSQL-14.0.
* Add PG::CONNECTION_* constants for conn.status of newer PostgreSQL versions.
* Add better support for logical replication. #339
* Change conn.socket_io to read+write mode and to a BasicSocket object
  instead of IO.
* Use rb_io_wait() and the conn.socket_io object if available for better
  compatibility to Fiber.scheduler . Fall back to rb_wait_for_single_fd() on
  ruby &lt; 3.0.
* On Windows use a specialized wait function as a workaround for very poor
  performance of rb_io_wait(). #416

Bugfixes:
* Release GVL while calling PQping which is a blocking method, but it didn't
  release GVL so far.
* Fix Connection#transaction to no longer block on interrupts, for instance
  when pressing Ctrl-C and cancel a running query. #390
* Avoid casting of OIDs to fix compat with Redshift database. #369
* Call conn.block before each conn.get_result call to avoid possible
  blocking in case of a slow network and multiple query results.
* Sporadic Errno::ENOTSOCK when using conn.socket_io on Windows #398

Deprecated:
* Add deprecation warning to PG::BasicTypeRegistry.register_type and siblings.

Removed:
* Remove support of ruby-2.2, 2.3 and 2.4. Minimum is ruby-2.5 now.
* Remove support for PostgreSQL-9.2. Minimum is PostgreSQL-9.3 now.
* Remove constant PG::REVISION, which was broken since pg-1.1.4.

Repository:
* Replace Hoe by Bundler for gem packaging
* Add Github Actions CI and testing of source and binary gems.</content>
</entry>
<entry>
<title>databases/ruby-pg: update to 1.2.2</title>
<updated>2020-01-16T15:16:19Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2020-01-16T15:16:19Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=57d63c48fba5a1be2879e2f165dd23a57da50a88'/>
<id>urn:sha1:57d63c48fba5a1be2879e2f165dd23a57da50a88</id>
<content type='text'>
== v1.2.2 [2020-01-06] Michael Granger &lt;ged@FaerieMUD.org&gt;

Enhancements:

- Add a binary gem for Ruby 2.7.


== v1.2.1 [2020-01-02] Michael Granger &lt;ged@FaerieMUD.org&gt;

Enhancements:

- Added internal API for sequel_pg compatibility.


== v1.2.0 [2019-12-20] Michael Granger &lt;ged@FaerieMUD.org&gt;

Repository:
- Our primary repository has been moved to Github https://github.com/ged/ruby-pg .
  Most of the issues from https://bitbucket.org/ged/ruby-pg have been migrated. #43

API enhancements:
- Add PG::Result#field_name_type= and siblings to allow symbols to be used as field names. #306
- Add new methods for error reporting:
  - PG::Connection#set_error_context_visibility
  - PG::Result#verbose_error_message
  - PG::Result#result_verbose_error_message (alias)
- Update errorcodes and error classes to PostgreSQL-12.0.
- New constants: PG_DIAG_SEVERITY_NONLOCALIZED, PQERRORS_SQLSTATE, PQSHOW_CONTEXT_NEVER, PQSHOW_CONTEXT_ERRORS, PQSHOW_CONTEXT_ALWAYS

Type cast enhancements:
- Add PG::TextEncoder::Record and PG::TextDecoder::Record for en/decoding of Composite Types. #258, #36
- Add PG::BasicTypeRegistry.register_coder to register instances instead of classes.
  This is useful to register parametrized en/decoders like PG::TextDecoder::Record .
- Add PG::BasicTypeMapForQueries#encode_array_as= to switch between various interpretations of ruby arrays.
- Add Time, Array&lt;Time&gt;, Array&lt;BigDecimal&gt; and Array&lt;IPAddr&gt; encoders to PG::BasicTypeMapForQueries
- Exchange sprintf based float encoder by very fast own implementation with more natural format. #301
- Define encode and decode methods only in en/decoders that implement it, so that they can be queried by respond_to? .
- Improve PG::TypeMapByColumn#inspect
- Accept Integer and Float as input to TextEncoder::Numeric . #310

Other enhancements:
- Allocate the data part and the ruby object of PG::Result in one step, so that we don't need to check for valid data.
  This removes PG::Result.allocate and PG::Result.new, which were callable but without any practical use. #42
- Make use of PQresultMemorySize() of PostgreSQL-12 and fall back to our internal estimator.
- Improve performance of PG::Result#stream_each_tuple .
- Store client encoding in data part of PG::Connection and PG::Result objects, so that we no longer use ruby's internal encoding bits. #280
- Update Windows fat binary gem to OpenSSL-1.1.1d and PostgreSQL-12.1.
- Add support for TruffleRuby. It is regulary tested as part of our CI.
- Enable +frozen_string_literal+ in all pg's ruby files

Bugfixes:
- Update the license in gemspec to "BSD-2-Clause".
  It was incorrectly labeled "BSD-3-Clause". #40
- Respect PG::Coder#flags in PG::Coder#to_h.
- Fix PG::Result memsize reporting after #clear.
- Release field names to GC on PG::Result#clear.
- Fix double free in PG::Result#stream_each_tuple when an exception is raised in the block.
- Fix PG::Result#stream_each_tuple to deliver typemapped values.
- Fix encoding of Array&lt;unknown&gt; with PG::BasicTypeMapForQueries

Deprecated:
- Add a deprecation warning to PG::Connection#socket .

Removed:
- Remove PG::Connection#guess_result_memsize= which was temporary added in pg-1.1.
- Remove PG::Result.allocate and PG::Result.new (see enhancements).
- Remove support of tainted objects. #307
- Remove support of ruby-2.0 and 2.1. Minimum is ruby-2.2 now.

Documentation:
- Update description of connection params. See PG::Connection.new
- Link many method descriptions to corresponding libpq's documentation.
- Update sync_* and async_* query method descriptions and document the aliases.
  The primary documentation is now at the async_* methods which are the default since pg-1.1.
- Fix documentation of many constants</content>
</entry>
<entry>
<title>databases/ruby-pg: update to 1.1.3</title>
<updated>2018-09-23T13:56:53Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2018-09-23T13:56:53Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=5fea26432ef64f57ce056d102517d2fec91e380e'/>
<id>urn:sha1:5fea26432ef64f57ce056d102517d2fec91e380e</id>
<content type='text'>
== v1.1.3 [2018-09-06] Michael Granger &lt;ged@FaerieMUD.org&gt;

- Revert opimization that was sometimes causing EBADF in rb_wait_for_single_fd().


== v1.1.2 [2018-08-28] Michael Granger &lt;ged@FaerieMUD.org&gt;

- 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 &lt;ged@FaerieMUD.org&gt;

- Reduce deprecation warnings to only one message per deprecation.


== v1.1.0 [2018-08-24] Michael Granger &lt;ged@FaerieMUD.org&gt;

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</content>
</entry>
<entry>
<title>databases/ruby-pg: update to 1.0.0</title>
<updated>2018-02-25T14:19:24Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2018-02-25T14:19:24Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=fd48ee2b923c187fb6161581209128fdeda95ef1'/>
<id>urn:sha1:fd48ee2b923c187fb6161581209128fdeda95ef1</id>
<content type='text'>
v1.0.0 [2018-01-10] Michael Granger &lt;ged@FaerieMUD.org&gt;

Deprecated:

* Deprecate Ruby older than 2.2.
* Deprecate Connection#socket in favor of #socket_io.

Removed:

* Remove compatibility code for Ruby &lt; 2.0 and PostgreSQL &lt; 9.2.
* Remove partial compatibility with Rubinius.
* Remove top-level constants PGconn, PGresult, and PGError.

Enhancements:

* Update error codes to PostgreSQL-10
* Update Windows binary gems to Ruby-2.5, PostgreSQL 10.1 and OpenSSL 1.1.0g.

Bugfixes:

* Fix URI detection for connection strings. #265 (thanks to jjoos)
* MINGW: Workaround segfault due to GCC linker error in conjunction with
  MSVC. This happens when linking to PostgreSQL-10.0-x64 from EnterpriseDB.

Documentation fixes:

* Add PostgreSQL version since when the given function is supported. #263
* Better documentation to `encoder` and `decoder` arguments of COPY related
  methods.</content>
</entry>
<entry>
<title>Update ruby-pg to 0.21.0.</title>
<updated>2017-06-18T15:31:10Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2017-06-18T15:31:10Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=2ab9dd2315200eec19d733b6935f4d38ec731f16'/>
<id>urn:sha1:2ab9dd2315200eec19d733b6935f4d38ec731f16</id>
<content type='text'>
== v0.21.0 [2017-06-12] Michael Granger &lt;ged@FaerieMUD.org&gt;

Enhancements:
- Move add_dll_directory to the Runtime namespace for newest versions
  of RubyInstaller.
- Deprecate PGconn, PGresult, and PGError top-level constants; a warning
  will be output the first time one of them is used. They will be
  removed in the upcoming 1.0 release.

Documentation fixes:
- Update the docs for PG::Result#cmd_tuples</content>
</entry>
<entry>
<title>Add ${GEM_EXTSDIR}/gem.build_complete for new rubygems and updated ruby.</title>
<updated>2015-03-08T15:17:17Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2015-03-08T15:17:17Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=7dfc8b21a2896248435e1a88ae6fc61d0cf72c92'/>
<id>urn:sha1:7dfc8b21a2896248435e1a88ae6fc61d0cf72c92</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update ruby-pg to 0.18.1.</title>
<updated>2015-02-01T13:24:46Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2015-02-01T13:24:46Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=ce6eaeb4a5a1ce224686b8118ef8d9e28e6b577d'/>
<id>urn:sha1:ce6eaeb4a5a1ce224686b8118ef8d9e28e6b577d</id>
<content type='text'>
== v0.18.1 [2015-01-05] Michael Granger &lt;ged@FaerieMUD.org&gt;

Correct the minimum compatible Ruby version to 1.9.3. #199


== v0.18.0 [2015-01-01] Michael Granger &lt;ged@FaerieMUD.org&gt;

Bugfixes:
- Fix OID to Integer mapping (it is unsigned now). #187
- Fix possible segfault in conjunction with notice receiver. #185

Enhancements:

- Add an extensible type cast system.
- A lot of performance improvements.
- Return frozen String objects for result field names.
- Add PG::Result#stream_each and #stream_each_row as fast helpers for
  the single row mode.
- Add Enumerator variant to PG::Result#each and #each_row.
- Add PG::Connection#conninfo and #hostaddr.
- Add PG.init_openssl and PG.init_ssl methods.
- Force zero termination for all text strings that are given to libpq.
  It raises an ArgumentError if the string contains a null byte.
- Update Windows cross build to PostgreSQL 9.3.</content>
</entry>
<entry>
<title>Update ruby-pg to 0.17.1</title>
<updated>2014-03-13T18:23:21Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2014-03-13T18:23:21Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=59e10876e17d692a5e0839031dbb84519eb4388e'/>
<id>urn:sha1:59e10876e17d692a5e0839031dbb84519eb4388e</id>
<content type='text'>
pkgsrc change: Add GEM_EXTSDIR support.

== v0.17.1 [2013-12-18] Michael Granger &lt;ged@FaerieMUD.org&gt;

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.</content>
</entry>
<entry>
<title>Update ruby-pg to 0.16.0.</title>
<updated>2013-09-11T15:18:55Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2013-09-11T15:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=f4c3355fad7de7b8541814f69cf971708a68f39a'/>
<id>urn:sha1:f4c3355fad7de7b8541814f69cf971708a68f39a</id>
<content type='text'>
== v0.16.0 [2013-07-22] Michael Granger &lt;ged@FaerieMUD.org&gt;

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).</content>
</entry>
<entry>
<title>Add build_info file to PLIST.</title>
<updated>2013-07-07T15:22:55Z</updated>
<author>
<name>taca</name>
<email>taca@pkgsrc.org</email>
</author>
<published>2013-07-07T15:22:55Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=3ca9253c68ceca044621a77d1d41888ebc22b7bf'/>
<id>urn:sha1:3ca9253c68ceca044621a77d1d41888ebc22b7bf</id>
<content type='text'>
Bump PKGREVISION.</content>
</entry>
</feed>
