head 1.43; access; symbols pkgsrc-2023Q4:1.41.0.4 pkgsrc-2023Q4-base:1.41 pkgsrc-2023Q3:1.41.0.2 pkgsrc-2023Q3-base:1.41 pkgsrc-2023Q2:1.40.0.2 pkgsrc-2023Q2-base:1.40 pkgsrc-2023Q1:1.38.0.2 pkgsrc-2023Q1-base:1.38 pkgsrc-2022Q4:1.37.0.2 pkgsrc-2022Q4-base:1.37 pkgsrc-2022Q3:1.35.0.2 pkgsrc-2022Q3-base:1.35 pkgsrc-2022Q2:1.34.0.20 pkgsrc-2022Q2-base:1.34 pkgsrc-2022Q1:1.34.0.18 pkgsrc-2022Q1-base:1.34 pkgsrc-2021Q4:1.34.0.16 pkgsrc-2021Q4-base:1.34 pkgsrc-2021Q3:1.34.0.14 pkgsrc-2021Q3-base:1.34 pkgsrc-2021Q2:1.34.0.12 pkgsrc-2021Q2-base:1.34 pkgsrc-2021Q1:1.34.0.10 pkgsrc-2021Q1-base:1.34 pkgsrc-2020Q4:1.34.0.8 pkgsrc-2020Q4-base:1.34 pkgsrc-2020Q3:1.34.0.6 pkgsrc-2020Q3-base:1.34 pkgsrc-2020Q2:1.34.0.4 pkgsrc-2020Q2-base:1.34 pkgsrc-2020Q1:1.34.0.2 pkgsrc-2020Q1-base:1.34 pkgsrc-2019Q4:1.32.0.10 pkgsrc-2019Q4-base:1.32 pkgsrc-2019Q3:1.32.0.6 pkgsrc-2019Q3-base:1.32 pkgsrc-2019Q2:1.32.0.4 pkgsrc-2019Q2-base:1.32 pkgsrc-2019Q1:1.32.0.2 pkgsrc-2019Q1-base:1.32 pkgsrc-2018Q4:1.31.0.4 pkgsrc-2018Q4-base:1.31 pkgsrc-2018Q3:1.31.0.2 pkgsrc-2018Q3-base:1.31 pkgsrc-2018Q2:1.30.0.4 pkgsrc-2018Q2-base:1.30 pkgsrc-2018Q1:1.30.0.2 pkgsrc-2018Q1-base:1.30 pkgsrc-2017Q4:1.29.0.6 pkgsrc-2017Q4-base:1.29 pkgsrc-2017Q3:1.29.0.4 pkgsrc-2017Q3-base:1.29 pkgsrc-2017Q2:1.28.0.2 pkgsrc-2017Q2-base:1.28 pkgsrc-2017Q1:1.27.0.2 pkgsrc-2017Q1-base:1.27 pkgsrc-2016Q4:1.26.0.2 pkgsrc-2016Q4-base:1.26 pkgsrc-2016Q3:1.23.0.8 pkgsrc-2016Q3-base:1.23 pkgsrc-2016Q2:1.23.0.6 pkgsrc-2016Q2-base:1.23 pkgsrc-2016Q1:1.23.0.4 pkgsrc-2016Q1-base:1.23 pkgsrc-2015Q4:1.23.0.2 pkgsrc-2015Q4-base:1.23 pkgsrc-2015Q3:1.22.0.2 pkgsrc-2015Q3-base:1.22 pkgsrc-2015Q2:1.21.0.2 pkgsrc-2015Q2-base:1.21 pkgsrc-2015Q1:1.20.0.2 pkgsrc-2015Q1-base:1.20 pkgsrc-2014Q4:1.19.0.8 pkgsrc-2014Q4-base:1.19 pkgsrc-2014Q3:1.19.0.6 pkgsrc-2014Q3-base:1.19 pkgsrc-2014Q2:1.19.0.4 pkgsrc-2014Q2-base:1.19 pkgsrc-2014Q1:1.19.0.2 pkgsrc-2014Q1-base:1.19 pkgsrc-2013Q4:1.18.0.2 pkgsrc-2013Q4-base:1.18 pkgsrc-2013Q3:1.17.0.2 pkgsrc-2013Q3-base:1.17 pkgsrc-2013Q2:1.15.0.2 pkgsrc-2013Q2-base:1.15 pkgsrc-2013Q1:1.14.0.6 pkgsrc-2013Q1-base:1.14 pkgsrc-2012Q4:1.14.0.4 pkgsrc-2012Q4-base:1.14 pkgsrc-2012Q3:1.14.0.2 pkgsrc-2012Q3-base:1.14 pkgsrc-2012Q2:1.10.0.4 pkgsrc-2012Q2-base:1.10 pkgsrc-2012Q1:1.10.0.2 pkgsrc-2012Q1-base:1.10 pkgsrc-2011Q4:1.9.0.2 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.7.0.4 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.2 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.6.0.2 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.5.0.2 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.4.0.2 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.3.0.4 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.2 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.1.0.8 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.6 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.4 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.2 pkgsrc-2008Q4-base:1.1; locks; strict; comment @# @; 1.43 date 2024.03.03.08.16.48; author taca; state Exp; branches; next 1.42; commitid KKJTD5eD76eTMG0F; 1.42 date 2024.02.19.14.54.59; author taca; state Exp; branches; next 1.41; commitid Fy3d4yLBNZ7op3ZE; 1.41 date 2023.09.03.01.39.54; author taca; state Exp; branches; next 1.40; commitid Ti5dIKZ1stXqrgDE; 1.40 date 2023.04.29.13.32.27; author taca; state Exp; branches; next 1.39; commitid MU2U9PdNa8gYs0nE; 1.39 date 2023.04.27.13.46.29; author taca; state Exp; branches; next 1.38; commitid b55il2AARkqLBKmE; 1.38 date 2023.02.26.14.30.35; author taca; state Exp; branches; next 1.37; commitid 394FVG2QxfYsM2fE; 1.37 date 2022.11.26.14.03.55; author taca; state Exp; branches; next 1.36; commitid S9Y3p0fJc4qEAd3E; 1.36 date 2022.11.11.13.01.50; author taca; state Exp; branches; next 1.35; commitid DceUx5OYlx8hJh1E; 1.35 date 2022.08.11.04.00.18; author taca; state Exp; branches; next 1.34; commitid vEyIV7yson3QGpPD; 1.34 date 2020.03.23.15.20.09; author taca; state Exp; branches; next 1.33; commitid bhi42lKSug4Mrx1C; 1.33 date 2020.01.16.15.16.19; author taca; state Exp; branches; next 1.32; commitid L19ZSY2ALgc2AVSB; 1.32 date 2019.01.20.13.19.13; author taca; state Exp; branches; next 1.31; commitid 9zrVANTm4iPixw8B; 1.31 date 2018.09.23.13.56.53; author taca; state Exp; branches; next 1.30; commitid pdeziJdbhUBlzeTA; 1.30 date 2018.02.25.14.19.24; author taca; state Exp; branches; next 1.29; commitid LEtqkAC3WZGzrfsA; 1.29 date 2017.09.04.18.08.19; author wiz; state Exp; branches; next 1.28; commitid H3CpyvMOZDCWiU5A; 1.28 date 2017.06.18.15.31.10; author taca; state Exp; branches; next 1.27; commitid xmZJmvfHHmqsWRVz; 1.27 date 2017.03.11.16.41.27; author taca; state Exp; branches; next 1.26; commitid hsHpwbQkZeCRv9Jz; 1.26 date 2016.11.19.14.38.03; author taca; state Exp; branches; next 1.25; commitid 9hPfuF11tuEZpKuz; 1.25 date 2016.10.09.21.41.58; author wiz; state Exp; branches; next 1.24; commitid i0AJjxRbfKiS5wpz; 1.24 date 2016.10.09.12.47.27; author taca; state Exp; branches; next 1.23; commitid gCUrYZ19sYut8tpz; 1.23 date 2015.11.29.12.10.16; author taca; state Exp; branches; next 1.22; commitid sPD4au14j6jv3ZKy; 1.22 date 2015.09.13.04.47.39; author taca; state Exp; branches; next 1.21; commitid nMRE2BhgAoY553By; 1.21 date 2015.06.03.10.48.18; author taca; state Exp; branches; next 1.20; commitid mwNu7ZgmRuV5mYny; 1.20 date 2015.02.01.13.24.46; author taca; state Exp; branches; next 1.19; commitid oN4oPuwAUnEW8j8y; 1.19 date 2014.03.13.18.23.21; author taca; state Exp; branches; next 1.18; commitid TAPgzzrrZj6Wezsx; 1.18 date 2013.12.08.16.50.14; author taca; state Exp; branches; next 1.17; commitid GTp2sSo8QwWqMlgx; 1.17 date 2013.09.11.15.18.55; author taca; state Exp; branches; next 1.16; commitid tra4K7MseF4t625x; 1.16 date 2013.07.07.15.22.55; author taca; state Exp; branches; next 1.15; commitid TUJ6ga4oDdNofyWw; 1.15 date 2013.06.16.14.38.10; author taca; state Exp; branches 1.15.2.1; next 1.14; commitid bYOgrqzVk5DRFQTw; 1.14 date 2012.09.03.15.13.47; author taca; state Exp; branches; next 1.13; 1.13 date 2012.08.21.13.46.20; author taca; state Exp; branches; next 1.12; 1.12 date 2012.08.05.10.02.11; author obache; state Exp; branches; next 1.11; 1.11 date 2012.07.31.13.46.52; author taca; state Exp; branches; next 1.10; 1.10 date 2012.02.23.14.18.23; author taca; state Exp; branches; next 1.9; 1.9 date 2011.12.15.15.02.03; author taca; state Exp; branches; next 1.8; 1.8 date 2011.11.08.15.41.31; author taca; state Exp; branches; next 1.7; 1.7 date 2011.06.17.14.01.52; author taca; state Exp; branches; next 1.6; 1.6 date 2011.02.21.16.01.12; author taca; state Exp; branches; next 1.5; 1.5 date 2010.12.04.03.45.23; author taca; state Exp; branches 1.5.2.1; next 1.4; 1.4 date 2010.09.10.04.36.01; author taca; state Exp; branches; next 1.3; 1.3 date 2010.02.10.19.34.06; author joerg; state Exp; branches; next 1.2; 1.2 date 2009.10.17.09.24.13; author taca; state Exp; branches; next 1.1; 1.1 date 2008.10.16.21.48.26; author erh; state Exp; branches; next ; 1.15.2.1 date 2013.07.16.17.00.50; author tron; state Exp; branches; next ; commitid tRjApmEVG8D6vIXw; 1.5.2.1 date 2011.02.27.00.26.13; author tron; state Exp; branches; next ; desc @@ 1.43 log @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. @ text @# $NetBSD: Makefile,v 1.42 2024/02/19 14:54:59 taca Exp $ DISTNAME= pg-1.5.6 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/postgres/&ql/} CATEGORIES= databases MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/ged/ruby-pg COMMENT= Ruby extension for PostgreSQL LICENSE= 2-clause-bsd OR ruby-license CONFIGURE_ARGS= --with-pgsql-include-dir=${PGSQL_PREFIX}/include/postgresql \ --with-pgsql-lib-dir=${PGSQL_PREFIX}/lib .include "../../lang/ruby/gem.mk" .include "../../mk/pgsql.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.42 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2023/09/03 01:39:54 taca Exp $ d3 1 a3 1 DISTNAME= pg-1.5.5 @ 1.41 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2023/04/29 13:32:27 taca Exp $ d3 1 a3 1 DISTNAME= pg-1.5.4 @ 1.40 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2023/04/27 13:46:29 taca Exp $ d3 1 a3 1 DISTNAME= pg-1.5.3 @ 1.39 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2023/02/26 14:30:35 taca Exp $ d3 1 a3 1 DISTNAME= pg-1.5.2 @ 1.38 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2022/11/26 14:03:55 taca Exp $ d3 1 a3 1 DISTNAME= pg-1.4.6 @ 1.37 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2022/11/11 13:01:50 taca Exp $ d3 1 a3 1 DISTNAME= pg-1.4.5 @ 1.36 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2022/08/11 04:00:18 taca Exp $ d3 1 a3 1 DISTNAME= pg-1.4.4 @ 1.35 log @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: . 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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2020/03/23 15:20:09 taca Exp $ d3 1 a3 1 DISTNAME= pg-1.4.3 @ 1.34 log @databases/ruby-pg: update to 1.2.3 Update ruby-pg to 1.2.3. == v1.2.3 [2020-03-18] Michael Granger Bugfixes: - Fix possible segfault at `PG::Coder#encode`, `decode` or their implicit calls through a typemap after GC.compact. #327 - Fix possible segfault in `PG::TypeMapByClass` after GC.compact. #328 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2020/01/16 15:16:19 taca Exp $ d3 1 a3 1 DISTNAME= pg-1.2.3 d8 1 a8 1 HOMEPAGE= https://bitbucket.org/ged/ruby-pg/ @ 1.33 log @databases/ruby-pg: update to 1.2.2 == v1.2.2 [2020-01-06] Michael Granger Enhancements: - Add a binary gem for Ruby 2.7. == v1.2.1 [2020-01-02] Michael Granger Enhancements: - Added internal API for sequel_pg compatibility. == v1.2.0 [2019-12-20] Michael Granger 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