From 8c9554214acdc76db7d1e4e836ccf6f48e2e782d Mon Sep 17 00:00:00 2001 From: John Gemignani Date: Tue, 22 Aug 2023 12:46:51 -0700 Subject: [PATCH] Update files for PG12 Apache AGE release 1.4.0 Changes to be committed: modified: Makefile modified: README.md renamed: age--1.3.0.sql -> age--1.4.0.sql modified: age.control modified: RELEASE new file: age--1.3.0--1.4.0.sql --- Makefile | 2 +- README.md | 2 +- RELEASE | 84 ++++++++++++++------------------ age--1.3.0--1.4.0.sql | 83 +++++++++++++++++++++++++++++++ age--1.3.0.sql => age--1.4.0.sql | 0 age.control | 2 +- 6 files changed, 123 insertions(+), 50 deletions(-) create mode 100644 age--1.3.0--1.4.0.sql rename age--1.3.0.sql => age--1.4.0.sql (100%) diff --git a/Makefile b/Makefile index 199a0b595..facf7b467 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ OBJS = src/backend/age.o \ EXTENSION = age -DATA = age--1.3.0.sql +DATA = age--1.4.0.sql # sorted in dependency order REGRESS = scan \ diff --git a/README.md b/README.md index e5f91445a..b12282de3 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@   - +   diff --git a/RELEASE b/RELEASE index cb6f0de25..addd4b36d 100644 --- a/RELEASE +++ b/RELEASE @@ -15,53 +15,43 @@ # specific language governing permissions and limitations # under the License. -Release Notes for Apache AGE release v1.3.0 for PG 12 +Release Notes for Apache AGE release v1.4.0 for PG 12 -Apache AGE 1.3.0 - Release Notes +Apache AGE 1.4.0 - Release Notes -NOTE: Due to additions to core tables, there is no upgrade path from the - previous version. +NOTE: Some of these reference the master branch PR that was + either applied to lower versions via a separate PR or + merged into a newly created branch. -Implement CALL ...[YIELD] for cypher functions. (#630) -Graph names with the empty string '' are no more allowed. (#251) -Fix typos at multiple locations. (#470) -Fix Bug with CALL... [YIELD], clause ignores WHERE. -Fix EXPLAIN to allow for nested cypher commands. -Fix delete_global_graphs and add regression tests. (#336) -Invalid labels now return NULL. -Update CONTRIBUTING.md (#348) -Fix null pointer on name compare. (#376) -Fix Travis CI warning messages. -Additional regression tests added for age_global_graph. (#341) -Readme Added for AGE-JDBC-Driver. (#383) -Updated volitility categories for many functions. -Fix issue 339 - entities in WHERE clause have wrong Expr. (#391) -Create complete graph function. (#342) (#662) -Fix issue 317: Graph naming convention. (#349) -Update SET clause to support assigning a map to a variable. (#468) -Patch to address PR 203 that appears to be inactive. (#671) -Add additional comments for create_graph function. (#582) -Optimize age_exists function. (#586) -Implement plus-equal operator in SET clause. (#638) -Implement CI test for python driver. (#587) -Move from travis CI to github actions for build. (#673) -Update all driver CIs to Github actions. -Fix build warnings. -Updated Readme for drivers folder. (#642) -Removed async from function definitions. (#680) -Barbell graph generation (#648) and Barbell regress tests. (#708) -UPDATED Python Driver ANTLR 4.9.3 -> 4.11.1 (#706) -Fix WITH ignoring WHERE clause. (#646) -Implement isEmpty() predicate function. (#710) -Fix cypher function input argument checks. (#718) -Fix Issue 693 - server termination from return exists(path). (#721) -Update regression tests for cypher_with. (#725) -Fix issue 733 - create_complete_graph() terminates the server. (#734) -Prevent MATCH from following OPTIONAL MATCH. (#740) -Fix property constraints against resolved variables. (#724) (#751) (#701) (#747) -Include invalid labels in reused variables. (#751) (#762) -Fix update_entity_tuple to use correct CommandId. (#769) -Remove check for scalar agtypes in unwind. (#736) -Update PG12 CI workflows. (#776) -Update readme and version for python driver. (#780) -Update README.md +Added license in Python driver README.md (#956) +Added the toStringList() function (#1128) +Added toBooleanList() (#1165) +Added toFloatList() function (#1016) +Added toIntegerList() function (#1025) +Added regression tests for MATCH clause using labels only (#1019) +Added REGTYPEOID to toString function (#1036) +Added Dockerfile.dev & move docker-related files to "docker/" (#943) +Fixed complex MERGE causes crash (#897) (#961) +Fixed docker build files (#1104) +Fixed case sensitivity on label usage of reserved keyword (#1040) +Fixed issue 1000: Indexes created on WHERE (#1133) +Fixed issue 1002: Invalid reuse of variables in MATCH clause (#1003) +Fixed issue 1033: access operator on vle edge lists (#1037) +Fixed issue 1043: ERROR: container must be an array or object (#1046) +Fixed issue 1124: Segmentation fault when using specific tables (#1125) +Fixed issue 395: ERROR: container is not an agtype array (#1039) +Fixed issue 870: regarding orderability and added regression tests (#994) +Fixed issue 876: column reference "_age_default_alias_0" is ambiguous (#931) +Fixed issue 975: Invalid reuse of variables in CREATE clause (#977) +Fixed issue 989: Impossible to create array with > 100 items (#1001) +Fixed memory leak issues with age_load (#1142) +Fixed memory leaks in MERGE (merge_edge & merge_vertex) (#958) +Fixed MERGE crashes due to incorrect label type (#957) +Fixed MERGE variable reuse (#997) +Fixed misspellings in many AGE files (#985) +Fixed warning messages in DockerHub builds. (#1075) +Modified test_agtypes to view useful testing message (#992) +Optimised Antlr4ResultHandler initialization (#1169) +Updated CIs to pull correct image based on branch (#1105) +Updated files, format, and version information (#1063) +Updated README. diff --git a/age--1.3.0--1.4.0.sql b/age--1.3.0--1.4.0.sql new file mode 100644 index 000000000..d900543e5 --- /dev/null +++ b/age--1.3.0--1.4.0.sql @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +-- complain if script is sourced in psql, rather than via CREATE EXTENSION +\echo Use "ALTER EXTENSION age UPDATE TO '1.4.0'" to load this file. \quit + +CREATE FUNCTION ag_catalog.age_tobooleanlist(variadic "any") +RETURNS agtype +LANGUAGE c +IMMUTABLE +RETURNS NULL ON NULL INPUT +PARALLEL SAFE +AS 'MODULE_PATHNAME'; + +CREATE FUNCTION ag_catalog.age_tofloatlist(variadic "any") +RETURNS agtype +LANGUAGE c +IMMUTABLE +RETURNS NULL ON NULL INPUT +PARALLEL SAFE +AS 'MODULE_PATHNAME'; + +CREATE FUNCTION ag_catalog.age_tointegerlist(variadic "any") +RETURNS agtype +LANGUAGE c +IMMUTABLE +RETURNS NULL ON NULL INPUT +PARALLEL SAFE +AS 'MODULE_PATHNAME'; + +CREATE FUNCTION ag_catalog.age_pi() +RETURNS agtype +LANGUAGE c +IMMUTABLE +PARALLEL SAFE +AS 'MODULE_PATHNAME'; + +CREATE FUNCTION ag_catalog.age_rand() +RETURNS agtype +LANGUAGE c +PARALLEL SAFE +AS 'MODULE_PATHNAME'; + +CREATE FUNCTION ag_catalog.agtype_typecast_bool(variadic "any") +RETURNS agtype +LANGUAGE c +IMMUTABLE +PARALLEL SAFE +AS 'MODULE_PATHNAME'; + +ALTER FUNCTION ag_catalog._label_name IMMUTABLE; + +ALTER FUNCTION ag_catalog._agtype_build_vertex IMMUTABLE; + +ALTER FUNCTION ag_catalog._agtype_build_edge IMMUTABLE; + +CREATE OR REPLACE FUNCTION ag_catalog.agtype_volatile_wrapper("any") +RETURNS agtype +LANGUAGE c +VOLATILE +CALLED ON NULL INPUT +PARALLEL SAFE +AS 'MODULE_PATHNAME'; + +-- +-- End +-- diff --git a/age--1.3.0.sql b/age--1.4.0.sql similarity index 100% rename from age--1.3.0.sql rename to age--1.4.0.sql diff --git a/age.control b/age.control index e746aa836..cf75ac57a 100644 --- a/age.control +++ b/age.control @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -default_version = '1.3.0' +default_version = '1.4.0' comment = 'AGE database extension' module_pathname = '$libdir/age'