Next | Query returned 51 messages, browsing 1 to 10 | Previous

History of commit frequency

CVS Commit History:


   2024-03-03 09:16:48 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-pg: update to 1.5.6

1.5.6 (2024-03-01)

* Renew address resolution (DNS) in conn.reset. #558 This is important, if
  DNS is used for load balancing, etc.

* Make bigdecimal an optional dependency. #556 It's a gem in ruby-3.4+, so
  that users shouldn't be forced to use it.
   2024-02-19 15:54:59 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-pg: update to 1.5.5

1.5.5 (2024-02-15)

* Explicitly retype timespec fields to int64_t to fix compatibility with
  32bit arches. #547
* Fix possible buffer overflows in PG::BinaryDecoder::CopyRow on 32 bit
  systems. #548
* Add binary Windows gems for Ruby 3.3.
* Update Windows fat binary gem to OpenSSL-3.2.1 and PostgreSQL-16.2.
   2023-09-03 03:39:54 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
databases/ruby-pg: update to 1.5.4

1.5.4 (2023-09-01)

* Fix compiling the pg extension with MSVC 2022.  #535
* Set PG::Connection's encoding even if setting client_encoding on
  connection startup fails.  #541
* Don't set the server's client_encoding if it's unnecessary.  #542 This is
  important for connection proxies, who disallow configuration settings.
* Update Windows fat binary gem to OpenSSL-3.1.2 and PostgreSQL-15.4.
   2023-04-29 15:32:28 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
databases/ruby-pg: update to 1.5.3

1.5.3 (2023-04-28)

* Fix possible segfault when creating a new PG::Result with type map. #530
* Add category to deprecation warnings of Coder.new, so that they are
  suppressed for most users. #528
   2023-04-27 15:46:29 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-pg: update to 1.5.2

1.5.0 (2023-04-24)

Enhancements:

o Better support for binary format:

  * Extend PG::Connection#copy_data to better support binary transfers #511
  * Add binary COPY encoder and decoder:
    - PG::BinaryEncoder::CopyRow
    - PG::BinaryDecoder::CopyRow
  * Add binary timestamp encoders:
    - PG::BinaryEncoder::TimestampUtc
    - PG::BinaryEncoder::TimestampLocal
    - PG::BinaryEncoder::Timestamp
  * Add PG::BinaryEncoder::Float4 and Float8
  * Add binary date type: #515
    - PG::BinaryEncoder::Date
    - PG::BinaryDecoder::Date
  * Add PG::Result#binary_tuples #511 It is useful for COPY and not
    deprecated in that context.
  * Add PG::TextEncoder::Bytea to BasicTypeRegistry #506

o Ractor support: #519

  * Pg is now fully compatible with Ractor introduced in Ruby-3.0 and
    doesn't use any global mutable state.
  * All type en/decoders and type maps are shareable between ractors if they
    are made frozen by Ractor.make_shareable.
  * Also frozen PG::Result and PG::Tuple objects can be shared.
  * All frozen objects (except PG::Connection) can still be used to do
    communication with the PostgreSQL server or to read retrieved data.
  * PG::Connection is not shareable and must be created within each Ractor
    to establish a dedicated connection.

o Use keyword arguments instead of hashes for Coder initialization and
  #to_h.  #511

o Add PG::Result.res_status as a class method and extend Result#res_status
  to return the status of self.  #508

o Reduce the number of files loaded at require 'pg' by using autoload.  #513
  Previously stdlib libraries date, json, ipaddr and bigdecimal were static
  dependencies, but now only socket is mandatory.

o Improve garbage collector performance by adding write barriers to all PG
  classes.  #518 Now they can be promoted to the old generation, which means
  they only get marked on major GC.

o New method PG::Connection#check_socket to check the socket state. #521

o Mark many internal constants as private. #522

o Update Windows fat binary gem to OpenSSL-3.1.0.

Bugfixes:

o Move nfields-check of stream-methods after result status check #507 This
  ensures that the nfield-check doesn't hide errors like statement timeout.

Removed:

o Remove deprecated PG::BasicTypeRegistry.register_type and co. Part of #519

o Add deprecation warning about PG::Coder initialization per Hash argument.
  #514 It is recommended to use keyword arguments instead.

o The internal encoding cache was removed.  #516 It shouldn't have a
  practical performance impact.

Repository:

o rake test tries to find PostgreSQL server commands by pg_config #503 So
  there's no need to set the PATH manuelly any longer.

1.5.1 (2023-04-24)

o Don't overwrite flags of timestamp coders.  #524 Fixes a regression in
  rails: rails/rails#48049

1.5.2 (2023-04-26)

o Fix regression in copy_data regarding binary format when using no coder.
  #527
   2023-02-26 15:30:35 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-pg: update to 1.4.6

1.4.6 [2023-02-26] Lars Kanis lars@greiz-reinsdorf.de

* Add japanese README file.  #502

* Improve discard_results to not block under memory pressure.  #500

* Use a dedicated error class PG::LostCopyState for errors due to another
  query within copy_data and mention that it's probably due to another
  query.  Previously the "no COPY in progress" PG::Error was less specific.
  #499

* Make sure an error in put_copy_end of copy_data doesn't lose the original
  exception.

* Disable nonblocking mode while large object calls.  #498 Since pg-1.3.0
  libpq's "lo_*" calls failed when a bigger amount of data was transferred.
  This specifically forced the active_storage-postgresql gem to use
  pg-1.2.3.

* Add rdoc options to gemspec, so that "gem install" generates complete
  offline documentation.

* Add binary Windows gems for Ruby 3.2.

* Update Windows fat binary gem to PostgreSQL-15.2 and OpenSSL-3.0.8.
   2022-11-26 15:03:55 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
databases/ruby-pg: update to 1.4.5

1.4.5 (2022-11-17)

* Return the libpq default port when blank in conninfo. #492

* Add PG::DEF_PGPORT constant and use it in specs. #492

* Fix name resolution when empty or `nil` port is given.

* Update error codes to PostgreSQL-15.

* Update Windows fat binary gem to PostgreSQL-15.1 AND OpenSSL-1.1.1s.
   2022-11-11 14:01:50 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
databases/ruby-pg: update to 1.4.4

1.4.4 (2022-10-11)

* Revert to let libpq do the host iteration while connecting.  #485 Ensure
  that parameter `connect_timeout` is still respected.
* Handle multiple hosts in the connection string, where only one host has
  writable session. #476
* Add some useful information to PG::Connection#inspect. #487
* Support new pgresult_stream_any API in sequel_pg-1.17.0. #481
* Update Windows fat binary gem to PostgreSQL-14.5.
   2022-08-11 06:00:18 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-pg: update to 1.4.3

pkgsrc change: Update HOMEPAGE to GitHUb.

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

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 < 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.
   2021-10-26 12:10:08 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (some may be only fetched
conditionally):

./databases/cstore/distinfo D6.data.ros.gz
./databases/cstore/distinfo cstore0.2.tar.gz
./databases/cstore/distinfo data4.tar.gz

Next | Query returned 51 messages, browsing 1 to 10 | Previous