Commit graph

7910 commits

Author SHA1 Message Date
adam
b8f0c61905 py-orderedmultidict: updated to 1.0
1.0:
Bug fixes.
2018-06-15 08:11:25 +00:00
jperkin
8800ee0701 mysql57-client: Restore patch deleted in last update.
Fixes, again, the build on SmartOS.  It would be nice if people would stop
removing patches for issues I've already spent time fixing.
2018-06-14 13:13:35 +00:00
bsiegert
d22fe57854 Revbump all Go packages after lang/go update. 2018-06-12 17:50:20 +00:00
adam
c4cfaf9336 py-asyncpg: updated to 0.16.0
asyncpg v0.16.0:

Behavior Changes
----------------
Pool.close() now waits until all acquired connections are released.
Hence, the below code will now hang indefinitely:
    conn = await pool.acquire()
    await pool.close()
Asyncpg will log a warning if pool.close() takes over 60 seconds to
complete. It is advisable to use asyncio.wait_for() to set a timeout.

Improvements
------------
Add support for reading passwords from .pgpass
Add Connection.is_in_transaction()
Added codec for built-in type tid
Allow setting custom codecs on domains and enumerated types
Allow passing datetime.date instances as timestamp input
Implement support for pool connection rotation

Bug Fixes
---------
Prohibit non-iterable containers to be passed as array input
Decode numeric zeros with correct scale
Fix handling of OIDs >= 2**31
Make Pool.close() wait until all checked out connections are released
Fix type codec cache races
Raise a consistent exception on input encoding errors
2018-06-12 10:30:39 +00:00
fhajny
5bf511b874 databases/apache-cassandra2: Modify to work with the latest devel/snappy-java10. PKGREVISION++ 2018-06-09 11:37:49 +00:00
nros
c16ba8033b Revbump after lang/qore module api update 2018-06-08 20:49:41 +00:00
nros
e3aa50b669 Updated databases/qore-mysql-module to version 2.0.2.1 .
patch-configure and patch-src_Makefile.in removed since
they have applied upstream.

Changes from release notes:
* updated SQLStatement::fetchColumns() to return an empty
  hash when no data is available
* fixed a bug where DBI-SELECT-ROW-ERROR exceptions were
  being raised as MYSQL-SELECT-ROW-ERROR exceptions
* fixed formatting bugs in invalid value specification
  error messages
* updated configure to find and compile with MariaDB and
  Percona includes and libs
* placeholders and quotes in SQL comments are ignored
* fixed time column retrieval; the date component is now
  set to 1970-01-01
* fixed binary and varbinary column handling
* fixed the "optimal-numbers" option with decimal values
  with decimal points
* fixed returning result sets with duplicate column names
2018-06-08 19:25:39 +00:00
nros
a8e8f8af9a Updated databases/qore-pgsql-module to version 2.4.1 .
Changes from release notes:
* updated SQLStatement::fetchColumns() to return an empty
  hash when no data is available
* fixed a formatting bug in an error message
* fixed selecting numeric values between 0 and 1
* fixed a bug where DBI-SELECT-ROW-ERROR exceptions were
  being raised as PGSQL-SELECT-ROW-ERROR exceptions
2018-06-08 19:04:49 +00:00
fhajny
19ae075ccc databases/apache-cassandra: Replace the EOL'd version 1.x.x with
the latest version 3.11.x one.

Way too many changes, see the changelog for more:

  https://git1-us-west.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=NEWS.txt;hb=refs/heads/cassandra-3.0
2018-06-08 09:52:44 +00:00
fhajny
6041963e6b databases/apache-cassandra2: Update to 2.2.12.
2.2.12
======

Upgrading
---------
- See MAXIMUM TTL EXPIRATION DATE NOTICE above.
- Cassandra is now relying on the JVM options to properly shutdown on OutOfMemoryError. By default it will
  rely on the OnOutOfMemoryError option as the ExitOnOutOfMemoryError and CrashOnOutOfMemoryError options
  are not supported by the older 1.7 and 1.8 JVMs. A warning will be logged at startup if none of those JVM
  options are used. See CASSANDRA-13006 for more details.
- Cassandra is not logging anymore by default an Heap histogram on OutOfMemoryError. To enable that behavior
  set the 'cassandra.printHeapHistogramOnOutOfMemoryError' System property to 'true'. See CASSANDRA-13006
  for more details.

2.2.11
======

Upgrading
---------
- Nothing specific to this release, but please see 2.2 if you are upgrading
  from a previous version.

2.2.10
======

Upgrading
---------
- Nothing specific to this release, but please see 2.2 if you are upgrading
  from a previous version.

2.2.9
=====

Upgrading
---------
- Compaction now correctly drops sstables out of CompactionTask when there
  isn't enough disk space to perform the full compaction.  This should reduce
  pending compaction tasks on systems with little remaining disk space.

Deprecation
-----------

Since the security manager added in 3.0 only allows Java and JavaScript
UDFs to be run, UDFs for other languages are deprecated and support for
non-Java and non-JavaScript UDFs is deprecated in 2.2 and has been removed
in version 3.0.11.

2.2.8
=====

Upgrading
---------
- The ReversedType behaviour has been corrected for clustering columns of
  BYTES type containing empty value. Scrub should be run on the existing
  SSTables containing a descending clustering column of BYTES type to correct
  their ordering. See CASSANDRA-12127 for more details.

2.2.7
=====

New features
------------
- JSON timestamps are now in UTC and contain the timezone information, see
  CASSANDRA-11137 for more details.

Upgrading
---------
- Ec2MultiRegionSnitch will no longer automatically set broadcast_rpc_address
  to the public instance IP if this property is defined on cassandra.yaml.


2.2.6
=====

Upgrading
---------
- Nothing specific to this release, but please see 2.2 if you are upgrading
  from a previous version.

2.2.5
=====

Upgrading
---------
- Nothing specific to this release, but please see 2.2 if you are upgrading
  from a previous version.

2.2.4
=====

Deprecation
-----------
- Pig support has been deprecated, and will be removed in 3.0.
  Please see CASSANDRA-10542 for more details.
- Configuration parameter memory_allocator in cassandra.yaml has been deprecated
  and will be removed in 3.0.0. As mentioned below for 2.2.0, jemalloc is
  automatically preloaded on Unix platforms.

Operations
----------
- Switching data center or racks is no longer an allowed operation on a node
  which has data. Instead, the node will need to be decommissioned and
  rebootstrapped. If moving from the SimpleSnitch, make sure that the data
  center and rack containing all current nodes is named "datacenter1" and
  "rack1". To override this behaviour use -Dcassandra.ignore_rack=true and/or
  -Dcassandra.ignore_dc=true.
- Reloading the configuration file of GossipingPropertyFileSnitch has been disabled.
- GC logging is now enabled by default (but you can disable it if you want by
  commenting the relevant lines of the cassandra-env file).

Upgrading
---------
- The default for the inter-DC stream throughput setting
  (inter_dc_stream_throughput_outbound_megabits_per_sec in cassandra.yaml) is
  the same than the one for intra-DC one (200Mbps) instead of being unlimited.
  Having it unlimited was never intended and was a bug.

New features
------------
- Time windows in DTCS are now limited to 1 day by default to be able to
  handle bootstrap and repair in a better way. To get the old behaviour,
  increase max_window_size_seconds.
- DTCS option max_sstable_age_days is now deprecated and defaults to 1000 days.
- Native protocol server now allows both SSL and non-SSL connections on
  the same port.

2.2.3
=====

Upgrading
---------
- Nothing specific to this release, but please see 2.2 if you are upgrading
  from a previous version.


2.2.2
=====

Upgrading
---------
- Version 1 and 2 of the native protocol are now deprecated and support
  will be removed in Cassandra 3.0. You are encouraged to upgrade to a
  client driver using version 3 of the native protocol.

Changed Defaults
----------------
- commitlog_total_space_in_mb will use the smaller of 8192, and 1/4
  of the total space of the commitlog volume. (Before: always used
  8192)
- Incremental repair is on by default since 2.2.0, run full repairs by
  providing the '-full' parameter to nodetool repair.
- Parallel repairs are the default since 2.2.0, run sequential repairs
  by providing the '-seq' parameter to nodetool repair.
- The following INFO logs were reduced to DEBUG level and will now show
  on debug.log instead of system.log:
   - Memtable flushing actions
   - Commit log replayed files
   - Compacted sstables
   - SStable opening (SSTableReader)

New features
------------
- Custom QueryHandlers can retrieve the column specifications for the bound
  variables from QueryOptions by using the hasColumnSpecifications()
  and getColumnSpecifications() methods.
- A new default assynchronous log appender debug.log was created in addition
  to  the system.log appender in order to provide more detailed log debugging.
  In order to disable debug logging, you must comment-out the ASYNCDEBUGLOG
  appender on conf/logback.xml. See CASSANDRA-10241 for more information.


2.2.1
=====

Upgrading
---------
 - Nothing specific to this release, but please see 2.2 if you are upgrading
   from a previous version.

New features
------------
- COUNT(*) and COUNT(1) can be selected with other columns or functions


2.2
===

Upgrading
---------
- The authentication & authorization subsystems have been redesigned to
  support role based access control (RBAC), resulting in a change to the
  schema of the system_auth keyspace. See below for more detail.
  For systems already using the internal auth implementations, the process
  for converting existing data during a rolling upgrade is straightforward.
  As each node is restarted, it will attempt to convert any data in the
  legacy tables into the new schema. Until enough nodes to satisfy the
  replication strategy for the system_auth keyspace are upgraded and so have
  the new schema, this conversion will fail with the failure being reported
  in the system log.
  During the upgrade, Cassandra's internal auth classes will continue to use
  the legacy tables, so clients experience no disruption. Issuing DCL
  statements during an upgrade is not supported.
  Once all nodes are upgraded, an operator with superuser privileges should
  drop the legacy tables, system_auth.users, system_auth.credentials and
  system_auth.permissions. Doing so will prompt Cassandra to switch over to
  the new tables without requiring any further intervention.
  While the legacy tables are present a restarted node will re-run the data
  conversion and report the outcome so that operators can verify that it is
  safe to drop them.

New features
------------
- The LIMIT clause applies now only to the number of rows returned to the user,
  not to the number of row queried. By consequence, queries using aggregates will not
  be impacted by the LIMIT clause anymore.
- Very large batches will now be rejected (defaults to 50kb). This
  can be customized by modifying batch_size_fail_threshold_in_kb.
- Selecting columns,scalar functions, UDT fields, writetime or ttl together
  with aggregated is now possible. The value returned for the columns,
  scalar functions, UDT fields, writetime and ttl will be the ones for
  the first row matching the query.
- Windows is now a supported platform. Powershell execution for startup scripts
  is highly recommended and can be enabled via an administrator command-prompt
  with: 'powershell set-executionpolicy unrestricted'
- It is now possible to do major compactions when using leveled compaction.
  Doing that will take all sstables and compact them out in levels. The
  levels will be non overlapping so doing this will still not be something
  you want to do very often since it might cause more compactions for a while.
  It is also possible to split output when doing a major compaction with
  STCS - files will be split in sizes 50%, 25%, 12.5% etc of the total size.
  This might be a bit better than old major compactions which created one big
  file on disk.
- A new tool has been added bin/sstableverify that checks for errors/bitrot
  in all sstables.  Unlike scrub, this is a non-invasive tool.
- Authentication & Authorization APIs have been updated to introduce
  roles. Roles and Permissions granted to them are inherited, supporting
  role based access control. The role concept supercedes that of users
  and CQL constructs such as CREATE USER are deprecated but retained for
  compatibility. The requirement to explicitly create Roles in Cassandra
  even when auth is handled by an external system has been removed, so
  authentication & authorization can be delegated to such systems in their
  entirety.
- In addition to the above, Roles are also first class resources and can be the
  subject of permissions. Users (roles) can now be granted permissions on other
  roles, including CREATE, ALTER, DROP & AUTHORIZE, which removesthe need for
  superuser privileges in order to perform user/role management operations.
- Creators of database resources (Keyspaces, Tables, Roles) are now automatically
  granted all permissions on them (if the IAuthorizer implementation supports
  this).
- SSTable file name is changed. Now you don't have Keyspace/CF name
  in file name. Also, secondary index has its own directory under parent's
  directory.
- Support for user-defined functions and user-defined aggregates have
  been added to CQL.
  ************************************************************************
  IMPORTANT NOTE: user-defined functions can be used to execute
  arbitrary and possibly evil code in Cassandra 2.2, and are
  therefore disabled by default.  To enable UDFs edit
  cassandra.yaml and set enable_user_defined_functions to true.

  CASSANDRA-9402 will add a security manager for UDFs in Cassandra
  3.0.  This will inherently be backwards-incompatible with any 2.2
  UDF that perform insecure operations such as opening a socket or
  writing to the filesystem.

  Per the previous note about adding a security manager in 3.0, this security manager
  means that non JavaScipt UDF's won't run, there for their use is deprecated.
  ************************************************************************
- Row-cache is now fully off-heap.
- jemalloc is now automatically preloaded and used on Linux and OS-X if
  installed.
- Please ensure on Unix platforms that there is no libjnadispath.so
  installed which is accessible by Cassandra. Old versions of
  libjna packages (< 4.0.0) will cause problems - e.g. Debian Wheezy
  contains libjna versin 3.2.x.
- The node now keeps up when streaming is failed during bootstrapping. You can
  use new `nodetool bootstrap resume` command to continue streaming after resolving
  an issue.
- Protocol version 4 specifies that bind variables do not require having a
  value when executing a statement. Bind variables without a value are
  called 'unset'. The 'unset' bind variable is serialized as the int
  value '-2' without following bytes.
  In an EXECUTE or BATCH request an unset bind value does not modify the value and
  does not create a tombstone, an unset bind ttl is treated as 'unlimited',
  an unset bind timestamp is treated as 'now', an unset bind counter operation
  does not change the counter value.
  Unset tuple field, UDT field and map key are not allowed.
  In a QUERY request an unset limit is treated as 'unlimited'.
  Unset WHERE clauses with unset partition column, clustering column
  or index column are not allowed.
- New `ByteType` (cql tinyint). 1-byte signed integer
- New `ShortType` (cql smallint). 2-byte signed integer
- New `SimpleDateType` (cql date). 4-byte unsigned integer
- New `TimeType` (cql time). 8-byte long
- The toDate(timeuuid), toTimestamp(timeuuid) and toUnixTimestamp(timeuuid) functions have been added to allow
  to convert from timeuuid into date type, timestamp type and bigint raw value.
  The functions unixTimestampOf(timeuuid) and dateOf(timeuuid) have been deprecated.
- The toDate(timestamp) and toUnixTimestamp(timestamp) functions have been added to allow
  to convert from timestamp into date type and bigint raw value.
- The toTimestamp(date) and toUnixTimestamp(date) functions have been added to allow
  to convert from date into timestamp type and bigint raw value.
- SizeTieredCompactionStrategy parameter cold_reads_to_omit has been removed.
- The default JVM flag -XX:+PerfDisableSharedMem will cause the following tools JVM
  to stop working: jps, jstack, jinfo, jmc, jcmd as well as 3rd party tools like Jolokia.
  If you wish to use these tools you can comment this flag out in cassandra-env.{sh,ps1}

Upgrading
---------
- Thrift rpc is no longer being started by default.
  Set `start_rpc` parameter to `true` to enable it.
- Pig's CqlStorage has been removed, use CqlNativeStorage instead
- Pig's CassandraStorage has been deprecated. CassandraStorage
  should only be used against tables created via thrift.
  Use CqlNativeStorage for all other tables.
- IAuthenticator been updated to remove responsibility for user/role
  maintenance and is now solely responsible for validating credentials,
  This is primarily done via SASL, though an optional method exists for
  systems which need support for the Thrift login() method.
- IRoleManager interface has been added which takes over the maintenance
  functions from IAuthenticator. IAuthorizer is mainly unchanged. Auth data
  in systems using the stock internal implementations PasswordAuthenticator
  & CassandraAuthorizer will be automatically converted during upgrade,
  with minimal operator intervention required. Custom implementations will
  require modification, though these can be used in conjunction with the
  stock CassandraRoleManager so providing an IRoleManager implementation
  should not usually be necessary.
- Fat client support has been removed since we have push notifications to clients
- cassandra-cli has been removed. Please use cqlsh instead.
- YamlFileNetworkTopologySnitch has been removed; switch to
  GossipingPropertyFileSnitch instead.
- CQL2 has been removed entirely in this release (previously deprecated
  in 2.0.0). Please switch to CQL3 if you haven't already done so.
- The results of CQL3 queries containing an IN restriction will be ordered
2018-06-08 09:34:01 +00:00
adam
83fe4886ce sqlite3: updated to 3.24.0
SQLite Release 3.24.0:
Add support for PostgreSQL-style UPSERT.
Add support for auxiliary columns in r-tree tables.
Add C-language APIs for discovering SQL keywords used by SQLite: sqlite3_keyword_count(), sqlite3_keyword_name(), and sqlite3_keyword_check().
Add C-language APIs for dynamic strings based on the sqlite3_str object.
Enhance ALTER TABLE so that it recognizes "true" and "false" as valid arguments to DEFAULT.
Add the sorter-reference optimization as a compile-time option. Only available if compiled with SQLITE_ENABLE_SORTER_REFERENCES.
Improve the format of the EXPLAIN QUERY PLAN raw output, so that it gives better information about the query plan and about the relationships between the various components of the plan.
Added the SQLITE_DBCONFIG_RESET_DATABASE option to the sqlite3_db_config() API.
CLI Enhancements:

Automatically intercepts the raw EXPLAIN QUERY PLAN output and reformats it into an ASCII-art graph.
Lines that begin with "#" and that are not in the middle of an SQL statement are interpreted as comments.
Added the --append option to the ".backup" command.
Added the ".dbconfig" command.
Performance:

UPDATE avoids unnecessary low-level disk writes when the contents of the database file do not actually change. For example, "UPDATE t1 SET x=25 WHERE y=?" generates no extra disk I/O if the value in column x is already 25. Similarly, when doing UPDATE on records that span multiple pages, only the subset of pages that actually change are written to disk. This is a low-level performance optimization only and does not affect the behavior of TRIGGERs or other higher level SQL structures.
Queries that use ORDER BY and LIMIT now try to avoid computing rows that cannot possibly come in under the LIMIT. This can greatly improve performance of ORDER BY LIMIT queries, especially when the LIMIT is small relative to the number of unrestricted output rows.
The OR optimization is allowed to proceed even if the OR expression has also been converted into an IN expression. Uses of the OR optimization are now also more clearly shown in the EXPLAIN QUERY PLAN output.
The query planner is more aggressive about using automatic indexes for views and subqueries for which it is not possible to create a persistent index.
Make use of the one-pass UPDATE and DELETE query plans in the R-Tree extension where appropriate.
Performance improvements in the LEMON-generated parser.
Bug fixes:

For the right-hand table of a LEFT JOIN, compute the values of expressions directly rather than loading precomputed values out of an expression index as the expression index might not contain the correct value.
Do not attempt to use terms from the WHERE clause to enable indexed lookup of the right-hand table of a LEFT JOIN.
Fix a memory leak that can occur following a failure to open error in the CSV virtual table
Fix a long-standing problem wherein a corrupt schema on the sqlite_sequence table used by AUTOINCREMENT can lead to a crash.
Fix the json_each() function so that it returns valid results on its "fullkey" column when the input is a simple value rather than an array or object.
2018-06-07 07:36:49 +00:00
taca
039a6fda3d databases/ruby-sequel: Update to 5.9.0
=== 5.9.0 (2018-06-01)

* Support generated columns on MySQL 5.7+ and MariaDB 5.2+ (wjordan, jeremyevans) (#1517)

* Add escaped_like extension for creation of LIKE expressions with placeholders in the pattern without access to a dataset (jeremyevans)

* Modify jdbc adapter exception handling to work around ::NativeException deprecation in JRuby 9.2 (jeremyevans)

* Work around broken BC date handling in JRuby 9.2.0.0 (jeremyevans)

* Switch use of BigDecimal.new() to BigDecimal(), since the former is deprecated (jeremyevans)

* Add Sequel::VERSION_NUMBER for easier version comparisons (jeremyevans)

* Add Model.has_dataset? to determine if the model class has a dataset (AlexWayfer) (#1508)

* Support use of LIKE with ANY function on PostgreSQL by avoiding unnecessary use of ESCAPE syntax (jeremyevans)

* Disconnect connections left allocated by dead threads instead of returning the connections to the pool (jeremyevans)

* Make both threaded connection pools avoid disconnecting connections while holding the connection pool mutex (jeremyevans)

* Don't deadlock when disconnecting connections in the sharded_threaded connection pool when using connection_validator or connection_expiration extensions (jeremyevans)

* Don't modify hash argument passed in Model.nested_attributes in the nested_attributes plugin (jeremyevans)

* Avoid unnecessary hash creation in many places (jeremyevans)

* Fix duplicate objects in nested associations when eager_graphing cascaded many_to_one=>one_to_many associations (jeremyevans)
2018-06-06 04:44:51 +00:00
jaapb
cb22e0ada8 Added ocaml-macaque to Makefile SUBDIRs 2018-06-05 15:39:15 +00:00
jaapb
019ccbf052 New package databases/ocaml-macaque, a DSL for SQL queries in OCaml. 2018-06-05 15:37:21 +00:00
fhajny
236c56d9ae databases/py-peewee: Update to 3.5.0.
Backwards-incompatible changes
- Custom Model repr no longer use the convention of overriding
  __unicode__, and now use __str__.
- Redesigned the sqlite json1 integration and changed some of the APIs
  and semantics of various JSONField methods.

New features
- Better default repr for model classes and fields.
- ForeignKeyField() accepts a new initialization parameter,
  deferrable, for specifying when constraints should be enforced.
- BitField.flag() can be called without a value parameter for the
  common use-case of using flags that are powers-of-2.
- SqliteDatabase pragmas can be specified as a dict (previously
  required a list of 2-tuples).
- SQLite TableFunction (docs) will print Python exception tracebacks
  raised in the initialize and iterate callbacks, making debugging
  significantly easier.

Bug fixes
- Fixed bug in migrator.add_column() where, if the field being added
  declared a non-standard index type (e.g., binary json field with GIN
  index), this index type was not being respected.
- Fixed bug in database.table_exists() where the implementation did
  not match the documentation.
- Fixed bug in SQLite TableFunction implementation which raised errors
  if the return value of the iterate() method was not a tuple.
2018-06-04 10:20:01 +00:00
prlw1
196ce0ba5c Fix PLIST 2018-06-02 13:13:23 +00:00
gdt
6cf460a0b7 postresql-postgis2: Substitute major version in PLIST
Add a variable MAJOR, currently 2.4, and instead of open-coding 2.4 in
PLIST, use ${MAJOR}, and teach print-PLIST how to invert that in only
the right places.

No functional change; this just reduces work on updating.
2018-05-30 17:03:56 +00:00
gdt
a0a70f8413 Update to 2.4.4
PostGIS 2.4.4
2018/04/08

 * Bug fixes *
  - #3055, [raster] ST_Clip() on a raster without band crashes the server
          (Regina Obe)
  - #3942, geojson: Do not include private header for json-c >= 0.13
           (Björn Esser)
  - #3952, ST_Transform fails in parallel mode (Paul Ramsey)
  - #3978, Fix KNN when upgrading from 2.1 or older (Sandro Santilli)
  - #4003, lwpoly_construct_circle: Avoid division by zero (Raúl Marín Rodríguez)
  - #4004, Avoid memory exhaustion when building a btree index (Edmund Horner)
  - #4016, proj 5.0.0 support (Raúl Marín Rodríguez)
  - #4017, lwgeom lexer memory corruption (Peter E)
  - #4020, Casting from box3d to geometry now returns correctly connected
           PolyhedralSurface (Matthias Bay)
  - #4025, #4032 Incorrect answers for temporally "almost overlapping" ranges
           (Paul Ramsey, Darafei Praliaskouski)
  - #4052, schema qualify several functions in geography (Regina Obe)
  - #4055, ST_ClusterIntersecting drops SRID (Daniel Baston)

 * Enhancements *
  - #3946, Compile support for PgSQL 11 (Paul Ramsey)
  - #3992, Use PKG_PROG_PKG_CONFIG macro from pkg.m4 to detect pkg-config
           (Bas Couwenberg)
  - #4044, Upgrade support for PgSQL 11 (Regina Obe)
2018-05-30 12:03:46 +00:00
adam
4fb0cce8ca py-sqlalchemy: updated to 1.2.8
Release 1.2.8 includes a fairly broad spectrum of fixes, including fixes for some memory/synchronization issues within the connection pool, automap and statement caching functionalities, as well as some issues that were introduced in the 1.2 series related to the horizontal sharding extension as well as the dogpile.caching example. Users of the dogpile.cache recipe should review the changes here when migrating to SQLAlchemy 1.2.
2018-05-30 07:33:29 +00:00
wen
9a5ee813e0 Update to 2.0016
Upstream changes:
2.0016 May 20 15:50:00 2018 PDT
    - Fix mistake in the previous release that prevented indexing.
2018-05-22 00:23:02 +00:00
fhajny
e769c1c7c1 databases/pg_repack: Update to 1.4.3.
- Fixed possible CVE-2018-1058 attack paths
- Fixed "unexpected index definition" after CVE-2018-1058 changes in
  PostgreSQL
- Fixed build with recent Ubuntu packages
2018-05-21 13:20:20 +00:00
fhajny
996b7d73f6 databases/py-peewee: Update to 3.4.0.
Backwards-incompatible changes

- The regexp() operation is now case-sensitive for MySQL and Postgres.
  To perform case-insensitive regexp operations, use iregexp().
- The SQLite BareField() field-type now supports all column
  constraints except specifying the data-type. Previously it silently
  ignored any column constraints.
- LIMIT and OFFSET parameters are now treated as parameterized values
  instead of literals.
- The schema parameter for SQLite database introspection methods is no
  longer ignored by default. The schema corresponds to the name given
  to an attached database.
- ArrayField now accepts a new parameter field_kwargs, which is used
  to pass information to the array field's field_class initializer.

New features and other changes

- SQLite backup interface supports specifying page-counts and a
  user-defined progress handler.
- GIL is released when doing backups or during SQLite busy timeouts
  (when using the peewee SQLite busy-handler).
- Add NATURAL join-type to the JOIN helper.
- Improved identifier quoting to allow specifying distinct
  open/close-quote characters. Enables adding support for MSSQL, for
  instance, which uses square brackets, e.g. [table].[column].
- Unify timeout interfaces for SQLite databases (use seconds
  everywhere rather than mixing seconds and milliseconds, which was
  confusing).
- Added attach() and detach() methods to SQLite database, making it
  possible to attach additional databases (e.g. an in-memory cache
  db).
2018-05-21 13:18:16 +00:00
fhajny
d41a8b32b8 databases/elasticsearch: Disable JAWT, removes the need for X11 headers. 2018-05-21 12:53:29 +00:00
adam
e8b7a8609d Removed 92 from PGSQL_VERSIONS_ACCEPTED 2018-05-21 08:12:23 +00:00
adam
1a73be16ae Removed (jdbc-)postgresql92(-*) 2018-05-21 08:06:39 +00:00
wen
e093af4454 Update to 0.53
Upstream changes:
0.53    - 2018-05-20, H.Merijn Brand
    * No folder scanning during automated tests
    * Fix col_names set to empty [] incorrectly skipping first row
      (issue#6) (Ronald Schmidt)
    * Small doc fix (Ronald Schmidt)
    * Tested on FreeBSD
2018-05-20 23:10:52 +00:00
wen
aa0885bd3d Update to 2.0015
Upstream changes:
2.0015 May 20 14:45:00 2018 PDT
    - Fix for tests failing on 5.28 (Thanks, Slaven!)
2018-05-20 22:52:30 +00:00
fhajny
a7915a4358 databases/elasticsearch: Skip unneeded API check, avoid GNU grep dep. 2018-05-20 12:53:01 +00:00
fhajny
2ac301bb74 databases/mongo-c-driver: Update to 1.9.5.
- New change streams API functions were not marked extern "C"
- mongoc_collection_watch now accepts a pipeline argument as a BSON
  array, in addition to accepting a BSON document with a "pipeline"
  array field
- Crashes in several change stream error handling paths
- Commands could return false with an empty bson_error_t after a
  replica set reconfig
- Network error messages omitted the command name when using OP_MSG
2018-05-17 14:10:11 +00:00
fhajny
e97ef12745 databases/py-peewee: Update to 3.3.4.
3.3.4
- Added a BinaryUUIDField class for efficiently storing UUIDs in
  16-bytes.
- Fix dataset's update_cache() logic so that when updating a single
  table that was newly-added, we also ensure that all dependent tables
  are updated at the same time.

3.3.3
- More efficient implementation of model dependency-graph generation.
  Improves performance of recursively deleting related objects by
  omitting unnecessary subqueries.
- Added union(), union_all(), intersect() and except_() to the
  Model-specific query implementations. This was an oversight that
  should have been patched in 3.3.2, but is fixed in 3.3.3.
- Major cleanup to test runner and standardized test skipping logic to
  integrate with standard-library unittest conventions.

3.3.2
- Add methods for union(), union_all, intersect() and except_().
  Previously, these methods were only available as operator overloads.
- Removed some Python 2.6-specific support code, as 2.6 is no longer
  officially supported.
- Fixed model-graph resolution logic for deferred foreign-keys.
- Better support for UPDATE...FROM queries (Postgresql).
2018-05-14 10:54:19 +00:00
adam
ca21781136 postgresql10: reset PKGREVISION 2018-05-13 08:16:00 +00:00
adam
2a523c3528 postgresql: updated to 10.4, 9.6.9, 9.5.13, 9.4.18, 9.3.23
SECURITY ISSUES
One security vulnerability has been closed by this release:

CVE-2018-1115: Too-permissive access control list on function pg_logfile_rotate()
Please see the "Updating" section below for post-update steps.

BUG FIXES AND IMPROVEMENTS
This update also fixes over 50 bugs reported in the last several months. Some of these issues affect only version 10, but many affect all supported versions.

These fixes include:
Fix incorrect volatility and parallel-safety markings on several built-in functions to ensure correct query planning optimizations
Several fixes for partitioning, including potential crashes as well as allowing TRUE and FALSE to be used as partition bounds
Fix where a new TOAST value could be assigned to a dead-but-not-yet-vacuumed TOAST OID, which would result in an error similar to "unexpected chunk number 0 (expected 1) for toast value nnnnn"
Fix "CREATE TABLE ... LIKE" with bigint identity columns on 32-bit platforms
Fix memory leak within the runtime of a query that repeatedly executes hash joins
Several crash fixes around queries using GROUPING SET
Avoid failure if a query-cancel or session-termination interrupt occurs while committing a prepared transaction
Reduce locking during autovacuum worker scheduling, which prevents loss of potential worker concurrency
Fix possible slow execution of REFRESH MATERIALIZED VIEW CONCURRENTLY
Several fixes around query plans that use "index-only" scans
Avoid deadlocks in concurrent CREATE INDEX CONCURRENTLY commands that are run under SERIALIZABLE or REPEATABLE READ transaction isolation
Several fixes for SP-GiST indexes, including one collation-aware searches on text columns
Fixes related to counting the number of tuples in partial GiST, SP-GiST, and Bloom indexes
Several fixes for logical decoding and replication
Fix misquoting of values for list-valued GUC variables (e.g. local_preload_libraries, session_preload_libraries, shared_preload_libraries, temp_tablespaces) in dumps
Several fixes for pg_stat_activity
Several fixes for ecpg
Fix for pg_recvlogical to ensure compatibility with PostgreSQL versions released before 10
Several fixes for pg_rewind
2018-05-13 08:13:46 +00:00
adam
e8d12bf0fc pgadmin3: updated to 1.22.2
1.22.2:
* Include the Negator when reverse engineering SQL for operators
* Fix the psql plugin command on OSX to work more reliably
* Prevent a crash in some situtions where the database connection is lost and needs to be reset.
* Fix display of elapsed query time for queries running longer than 1 hour

1.22.1:
* Don't barf when connecting to Greenplum or Greenplum HAWQ
* Fix selection of conversion functions in the CREATE CONVERSION dialogue
* Properly quote type names in the Type dialogue, and ensure range information is displayed for existing types
2018-05-10 07:12:53 +00:00
minskim
adbbafb5df databases/R-RSQLite: Update to 2.1.1
Notable changes since 1.0.0:

- RSQLite has been rewritten (essentially from scratch) in C++ with
  Rcpp.
- You can now use SQLite’s URL specification for databases.
- Queries, query parameters and table data are always converted to
  UTF-8 before being sent to the database.
- New strategy for prepared queries. Create a prepared query with
  dbSendQuery() or dbSendStatement() and bind values with dbBind().
- dbSendQuery(), dbGetQuery(), dbSendStatement() and dbExecute() also
  support inline parameterised queries.
- Improve column type inference.
- dbFetch() uses the same row name strategy as dbReadTable().
- dbColumnInfo() will now return information even before you’ve
  retrieved any data.
- New sqliteVersion() prints the header and library versions of
  RSQLite.
- Deprecation warnings are given only once, with a clear reference to
  the source.
- datasetsDb() now returns a read-only database, to avoid
  modifications to the installed file.
- Values of class "integer64" are now supported for dbWriteTable() and
  dbBind().
- New connections now automatically load default RSQLite extensions.
- Implement dbUnquoteIdentifier().
2018-05-10 00:09:29 +00:00
adam
4147949670 py-multidict: updated to 4.3.1
4.3.1:
Fix a typo in multidict stub file.

4.3.0:
Polish type hints, make multidict type definitions generic.
2018-05-08 04:20:31 +00:00
taca
70dd75fe4e databases/ruby-sequel: update to 5.8.0
=== 5.8.0 (2018-05-01)

* Don't mark SQLAnywhere as supporting WITH in INSERT statement (jeremyevans)

* Support :search_path as a shard option on PostgreSQL (jeremyevans)

* Add Dataset#nowait for raising a Sequel::DatabaseLockTimeout when a locked row is encountered, supported on PostgreSQL, MySQL 8+, MSSQL, and Oracle (jeremyevans)

* Support Dataset#skip_locked on MySQL 8+ (jeremyevans)

* Make schema modification methods in the pg_enum extension work on a frozen Database object (jeremyevans)

* Support common table expressions and window functions on MySQL 8+ (jeremyevans)

* Ignore Dataset#explain :extended option on MySQL 5.7+, since extended output is then the MySQL default (jeremyevans)

* Work around REGEXP BINARY not working correctly on MySQL 8+ by using REGEXP_LIKE with the 'c' match_type (jeremyevans)

* Force correct column order in Database#foreign_key_list on MySQL (jeremyevans)

* Add ConnectionPool#connection_expiration_random_delay to connection_expiration extension, to avoid thundering herd if preallocating connections (hex2a, jeremyevans) (#1503)

* Emit deprecation warning in association_proxies plugin if using #filter on an association proxy, since behavior will change on ruby 2.6+ (utilum) (#1497)

* Handle multiple add_constraint calls and a set_column_null call in the same alter_table block on SQLite (jeremyevans) (#1498)

* Add Database#rename_enum to the pg_enum extension (AlexWayfer) (#1495)

* Make tactical_eager_loading plugin respect the :allow_eager association option (jeremyevans) (#1494)

* Add pg_auto_constraint_validations plugin, for automatically converting constraint violations to validation failures on PostgreSQL (jeremyevans)

* Don't make Model#_valid? public in the error_splitter plugin (jeremyevans)

* Support Database#indexes :include_partial option on PostgreSQL for including partial indexes (jeremyevans)

* Include more diagnostic information in Database#error_info on PostgreSQL (jeremyevans)

* Support Database#foreign_key_list :reverse option on PostgreSQL for parsing foreign key constraints that reference a given table (jeremyevans)

* Add Database#check_constraints on PostgreSQL for parsing CHECK constraints (jeremyevans)

* Don't use identity columns if :serial=>true or :type=>:serial|:bigserial column options are used (#1490) (jeremyevans)

* Cache Dataset#select_all datasets if no arguments are given (jeremyevans)

* Cache Dataset#returning datasets if no arguments are given (jeremyevans)

* Cache Dataset#qualify datasets if no argument is given (jeremyevans)

* Cache Dataset#lateral datasets (jeremyevans)

* Cache Dataset#from_self datasets if no options are given (jeremyevans)

* Cache Dataset#distinct datasets if no arguments or block is given (jeremyevans)

=== 5.7.0 (2018-04-01)

* Add Sequel.start_timer and .elapsed_seconds_since for more accurate elapsed time calculations on ruby 2.1+ (jeremyevans)

* Run Dataset#with_sql_{all,each,first,single_value} using a cached dataset to avoid clobbering the dataset's columns (jeremyevans)

* Add Database#convert_serial_to_identity on PostgreSQL 10.2+, which requires superuser access (jeremyevans)

* Fix Database#server_version when connecting to PostgreSQL 10.1+ in certain cases (jeremyevans)

* Free temporary clobs in the jdbc/oracle adapter to prevent a memory leak (jeremyevans) (#1482)

* Treat prepared statement errors due to changing types as disconnect errors in the postgres adapter (jeremyevans) (#1481)

* Add integer64 extension for treating Integer as a 64-bit integer when used as a generic type (jeremyevans)

* Allow many_to_pg_array remove_all_* method cast appropriately to work correctly for non-integer types (jeremyevans)

* Fix array_type for pg_array_to_many and many_to_pg_array associations in pg_array_associations plugin (jeremyevans)

* Use identity columns instead of serial columns for primary keys on PostgreSQL 10.2+ (jeremyevans)

* Support :identity option when creating columns on PostgreSQL 10+ to create identity columns (jeremyevans)

* Add Dataset#overriding_{system,user}_value on PostgreSQL for use with PostgreSQL 10+ identity columns (jeremyevans)

* Set :auto_increment schema entry correctly for PostgreSQL 10+ identity columns (jeremyevans)
2018-05-05 14:19:58 +00:00
taca
045585146b databases/ruby-mysql2: update to 0.5.1
0.5.1 (2018/04/11)

New Features

* None

Bug Fixes

* Fix with --with-mysql-dir (#952)
* Prevent command out of sync errors with Prepared Statements (#956, #957, #958)

Changes

* Specs: Use the prepared statement performance schema if available (#960)
* README mysql2 0.5.x works with Rails 5.0.7, 5.1.6, and higher
* README be sure to read about the known limitations of prepared statements
2018-05-05 14:15:48 +00:00
taca
cfa6309b28 databases/ruby-odbc: update to 0.99999
Wed Feb 28 2018 version 0.99999 released

	* update to compile with newer Ruby releases, thanks
	  Lars Kanis for patch
	* added ODBC::Database.login_timeout to get/set the
	  SQL_LOGIN_TIMEOUT connection attribute

Wed Feb 15 2017 version 0.99998 released

	* minor update to compile with Ruby 2.4, thangs to Kevin Deisz
	* preset output vars before SQLColAttributes() call
2018-05-05 14:14:35 +00:00
fhajny
08e71288ea databases/sqlrelay-nodejs: Fix nodejs support, avoid built-time fetching. 2018-05-04 14:26:41 +00:00
prlw1
b198d06812 Missed libpqxx/options.mk 2018-05-03 13:29:57 +00:00
prlw1
40d0c75b72 Update libpqxx to 6.2.2
patch-ab no longer needed just since 15 Jan 2018(!)

5 years worth of changes including:
- C++11 is now required. Your compiler must have shared_ptr, noexcept, etc.
- Removed pqxx::items. Use the new C++11 initialiser syntax.
- Removed maketemporary. We weren't using it.
- Can now be built outside the source tree.
- New, simpler, lambda-friendly transactor framework.
- New, simpler, prepared statements and parameterised statements.
- Result rows can be passed around independently.
- New exec0(): perform query, expect zero rows of data.
- New exec1(): perform query, expect (and return) a single row of data.
- New exec_n(): perform query, expect exactly n rows of data.
- No longer defines Visual Studio's NOMINMAX in headers.
- Much faster configure script.
- Most configuration items are gone.
- Retired all existing capability flags.
- Documentation on readthedocs.org, thanks Tim Sheerman-Chase.
- Expose SQLSTATE error codes in sql_error exceptions.
- Adds a first-generation parser for SQL arrays.
2018-05-03 12:58:24 +00:00
prlw1
6f0d9e011d Remove libpqxx-doc
The tarball no longer contains pregenerated documentation. Will be
replaced by a "doc" option to libpqxx.
2018-05-03 12:38:57 +00:00
adam
eeaa36ca37 mysql57: updated to 5.7.22
Changes in MySQL 5.7.22:

Deprecation and Removal Notes
These compatibility SQL modes are now deprecated and will be removed in MySQL 8.0: DB2, MAXDB, MSSQL, MYSQL323, MYSQL40, ORACLE, POSTGRESQL, NO_FIELD_OPTIONS, NO_KEY_OPTIONS, NO_TABLE_OPTIONS. These deprecations have two implications:
Assigning a deprecated mode to the sql_mode system variable produces a warning.
With the MAXDB SQL mode enabled, using CREATE TABLE or ALTER TABLE to add a TIMESTAMP column to a table produces a warning.
Statements that use these deprecated SQL modes may fail when replicated from a MySQL 5.7 master to a MySQL 8.0 slave, or may have different effects on master and slave. To avoid such problems, applications that use the modes deprecated in MySQL 5.7 should be revised not to use them.

Test Suite Notes
Reduction of compiler and platform differences in GIS handling of floating-point results enables simplification of related test cases that no longer need rounding to avoid spurious test failures.

X Plugin Notes
X Plugin connection attempts using the X Protocol did not return an error when the default database specified in the connection options was invalid, and the connection was allowed with a null default database. Connection attempts using the classic MySQL protocol did return an error and disallowed the connection. X Protocol connection attempts now also disallow the connection if an invalid schema is specified.

Functionality Added or Changed
Replication: Changes introduced in version 8 which enable XCom to identify members using the concept of an incarnation have been merged in to version 5.7. These underlying changes add a UUID to members each time they join a group and this information can be used to distinguish among different member incarnations.
Replication: It is now possible to specify whether information written into the binary log enables replication slaves to parallelize based on commit timestamps, or on transaction write sets.
JSON: The JSON_MERGE() function is renamed to JSON_MERGE_PRESERVE().
JSON: Added the JSON utility function JSON_PRETTY(), which prints an existing JSON value, or any string that can successfully be parsed as a JSON document, in a format that can be easily read by humans. Each JSON object member or array value is displayed on a separate line of the output; each child object or array is intended 2 spaces with respect to its parent.

Bugs Fixed
2018-04-29 21:44:12 +00:00
adam
35aa3efc12 revbump for boost-libs update 2018-04-29 21:31:17 +00:00
wiz
e8a1d292d4 py-postgresql: update to 5.0.5.
Version 5.0.5 (2018-04-25)
------------------------------
- This version officially supports the new PostgreSQL 10.
- The memory for the string with the number of rows affected by a classic pg
  module query() was already freed (bug report and fix by Peifeng Qiu).

Ok OWNER.
2018-04-29 13:50:52 +00:00
wiz
9f420cb917 *: PKGREVISION bump for wxGTK30 switch from gtk2 to gtk3 2018-04-29 05:46:35 +00:00
fhajny
0afbefeee2 databases/py-peewee: Update to 3.3.1.
- Fixed long-standing bug in 3.x regarding using column aliases with
  queries that utilize the ModelCursorWrapper (typically queries with
  one or more joins).
- Fix typo in model metadata code, thanks @klen.
- Add examples of using recursive CTEs to docs.
2018-04-27 13:52:59 +00:00
adam
fa5693aa9b perl5: updated to 5.26.2
5.26.2:

Security
[CVE-2018-6797] heap-buffer-overflow (WRITE of size 1) in S_regatom (regcomp.c)
A crafted regular expression could cause a heap buffer write overflow, with control over the bytes written.
[CVE-2018-6798] Heap-buffer-overflow in Perl__byte_dump_string (utf8.c)
Matching a crafted locale dependent regular expression could cause a heap buffer read overflow and potentially information disclosure.
[CVE-2018-6913] heap-buffer-overflow in S_pack_rec
pack() could cause a heap buffer write overflow with a large item count.
Assertion failure in Perl__core_swash_init (utf8.c)
Control characters in a supposed Unicode property name could cause perl to crash. This has been fixed.

Updated Modules and Pragmata
Module::CoreList has been upgraded from version 5.20170922_26 to 5.20180414_26.
PerlIO::via has been upgraded from version 0.16 to 0.17.
Term::ReadLine has been upgraded from version 1.16 to 1.17.
Unicode::UCD has been upgraded from version 0.68 to 0.69.

Selected Bug Fixes
The readpipe() built-in function now checks at compile time that it has only one parameter expression, and puts it in scalar context, thus ensuring that it doesn't corrupt the stack at runtime.
Fixed a use after free bug in pp_list introduced in Perl 5.27.1.
Parsing a sub definition could cause a use after free if the sub keyword was followed by whitespace including newlines (and comments).
The tokenizer now correctly adjusts a parse pointer when skipping whitespace in an ${identifier} construct.
Accesses to ${^LAST_FH} no longer assert after using any of a variety of I/O operations on a non-glob.
sort now performs correct reference counting when aliasing $a and $b, thus avoiding premature destruction and leakage of scalars if they are re-aliased during execution of the sort comparator.
Some convoluted kinds of regexp no longer cause an arithmetic overflow when compiled.
Fixed a duplicate symbol failure with -flto -mieee-fp builds. pp.c defined _LIB_VERSION which -lieee already defines.
A NULL pointer dereference in the S_regmatch() function has been fixed.
Failures while compiling code within other constructs, such as with string interpolation and the right part of s///e now cause compilation to abort earlier.
2018-04-27 09:44:27 +00:00
adam
5852f5300d py-sqlalchemy-utils: updated to 0.33.2
0.33.2:
Added support for universal wheels.
Fixed usage of template0 and template1 with postgres database functions.
2018-04-27 06:57:21 +00:00
adam
7fceb18a7c py-sqlalchemy: updated to 1.2.7
SQLAlchemy release 1.2.7:
Release 1.2.7 includes some dialect-specific fixes as well as a small number of SQL and ORM related fixes.
2018-04-27 06:51:55 +00:00