Skip to content

Commit 57d3922

Browse files
authored
Advance to Apache AGE version 1.5.0 (#1482) (#1493) (#1496)
Updated the following files to advance the Apache AGE version to 1.5.0 modified: Makefile modified: README.md modified: RELEASE modified: age.control Corrected whitespace issues in - modified: sql/age_agtype.sql modified: sql/agtype_coercions.sql modified: sql/agtype_comparison.sql modified: sql/agtype_gin.sql modified: sql/agtype_operators.sql modified: sql/agtype_string.sql Corrected the file cleanup in Makefile. Corrected for this branch - Conflicts: RELEASE
1 parent 7cc4c92 commit 57d3922

10 files changed

+78
-52
lines changed

Makefile

+7-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
MODULE_big = age
1919

20-
age_sql = age--1.4.0.sql
20+
age_sql = age--1.5.0.sql
2121

2222
OBJS = src/backend/age.o \
2323
src/backend/catalog/ag_catalog.o \
@@ -75,10 +75,12 @@ OBJS = src/backend/age.o \
7575

7676
EXTENSION = age
7777

78-
#SQLS = $(sort ($(wildcard sql/*.sql)))
78+
# to allow cleaning of previous (old) age--.sql files
79+
all_age_sql = $(shell find . -maxdepth 1 -type f -regex './age--[0-9]+\.[0-9]+\.[0-9]+\.sql')
80+
7981
SQLS := $(shell cat sql/sql_files)
80-
SQLS := $(addprefix sql/,$(SQLS))
81-
SQLS := $(addsuffix .sql,$(SQLS))
82+
SQLS := $(addprefix sql/,$(SQLS))
83+
SQLS := $(addsuffix .sql,$(SQLS))
8284

8385
DATA_built = $(age_sql)
8486

@@ -115,7 +117,7 @@ ag_regress_dir = $(srcdir)/regress
115117
REGRESS_OPTS = --load-extension=age --inputdir=$(ag_regress_dir) --outputdir=$(ag_regress_dir) --temp-instance=$(ag_regress_dir)/instance --port=61958 --encoding=UTF-8 --temp-config $(ag_regress_dir)/age_regression.conf
116118

117119
ag_regress_out = instance/ log/ results/ regression.*
118-
EXTRA_CLEAN = $(addprefix $(ag_regress_dir)/, $(ag_regress_out)) src/backend/parser/cypher_gram.c src/include/parser/cypher_gram_def.h src/include/parser/cypher_kwlist_d.h $(age_sql)
120+
EXTRA_CLEAN = $(addprefix $(ag_regress_dir)/, $(ag_regress_out)) src/backend/parser/cypher_gram.c src/include/parser/cypher_gram_def.h src/include/parser/cypher_kwlist_d.h $(all_age_sql)
119121

120122
GEN_KEYWORDLIST = $(PERL) -I ./tools/ ./tools/gen_keywordlist.pl
121123
GEN_KEYWORDLIST_DEPS = ./tools/gen_keywordlist.pl tools/PerfectHash.pm

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</a>
2828
&nbsp;
2929
<a href="https://github.com/apache/age/releases">
30-
<img src="https://img.shields.io/badge/Release-v1.4.0-FFA500?labelColor=gray&style=flat&link=https://github.com/apache/age/releases"/>
30+
<img src="https://img.shields.io/badge/Release-v1.5.0-FFA500?labelColor=gray&style=flat&link=https://github.com/apache/age/releases"/>
3131
</a>
3232
&nbsp;
3333
<a href="https://www.postgresql.org/docs/13/index.html">

RELEASE

+58-34
Original file line numberDiff line numberDiff line change
@@ -15,43 +15,67 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
Release Notes for Apache AGE release v1.4.0 for PG 13
18+
Release Notes for Apache AGE release 1.5.0 for PostgreSQL version 13
1919

20-
Apache AGE 1.4.0 - Release Notes
20+
Apache AGE 1.5.0 - Release Notes
21+
22+
NOTE: Due to the complexity and the amount of additions, there are no
23+
upgrade scripts to this release.
2124

2225
NOTE: Some of these reference the master branch PR that was
2326
either applied to lower versions via a separate PR or
2427
merged into a newly created branch.
2528

26-
Added license in Python driver README.md (#956)
27-
Added the toStringList() function (#1128)
28-
Added toBooleanList() (#1165)
29-
Added toFloatList() function (#1016)
30-
Added toIntegerList() function (#1025)
31-
Added regression tests for MATCH clause using labels only (#1019)
32-
Added REGTYPEOID to toString function (#1036)
33-
Added Dockerfile.dev & move docker-related files to "docker/" (#943)
34-
Fixed complex MERGE causes crash (#897) (#961)
35-
Fixed docker build files (#1104)
36-
Fixed case sensitivity on label usage of reserved keyword (#1040)
37-
Fixed issue 1000: Indexes created on WHERE (#1133)
38-
Fixed issue 1002: Invalid reuse of variables in MATCH clause (#1003)
39-
Fixed issue 1033: access operator on vle edge lists (#1037)
40-
Fixed issue 1043: ERROR: container must be an array or object (#1046)
41-
Fixed issue 1124: Segmentation fault when using specific tables (#1125)
42-
Fixed issue 395: ERROR: container is not an agtype array (#1039)
43-
Fixed issue 870: regarding orderability and added regression tests (#994)
44-
Fixed issue 876: column reference "_age_default_alias_0" is ambiguous (#931)
45-
Fixed issue 975: Invalid reuse of variables in CREATE clause (#977)
46-
Fixed issue 989: Impossible to create array with > 100 items (#1001)
47-
Fixed memory leak issues with age_load (#1142)
48-
Fixed memory leaks in MERGE (merge_edge & merge_vertex) (#958)
49-
Fixed MERGE crashes due to incorrect label type (#957)
50-
Fixed MERGE variable reuse (#997)
51-
Fixed misspellings in many AGE files (#985)
52-
Fixed warning messages in DockerHub builds. (#1075)
53-
Modified test_agtypes to view useful testing message (#992)
54-
Optimised Antlr4ResultHandler initialization (#1169)
55-
Updated CIs to pull correct image based on branch (#1105)
56-
Updated files, format, and version information (#1063)
57-
Updated README.
29+
Add additional index support and performance enhancements (#1232)
30+
Add an additional way to find a previous variable ref (#1450)
31+
Add auto apply labeler workflow for PRs (#1161)
32+
Add checks for array functions to recognize and decode VPC (#1064)
33+
Add concat || operator to agtype (#1198)
34+
Add exist(?, ?|, ?&) operators for agtype (#1218)
35+
Add missing dependency in cypher_expr.c (#1256)
36+
Add path extraction(#>, #>>)operators to agtype (#1224)
37+
Add support for chained expressions in CASE (#1431)
38+
Clean up agtype_to_int8, agtype_to_int4, & agtype_to_int2 (#1354)
39+
Clean up #included files in parser directory (#1465)
40+
Converted SQL main file into multiple files. (#1401)
41+
docs: Add to Docker setup (#1204)
42+
Extend access(->, ->>), addition and subtraction operators (#1258)
43+
Extend agtype containment operators (@>, <@) (#1285)
44+
Extend EXPLAIN and add config param to switch transformation of property filter (#1262)
45+
Fix ambiguous conditions (#1373)
46+
Fix DockerHub warning messages for latest (#1380)
47+
Fix issue #1045 - error using path var in WHERE (#1295)
48+
Fix Issue #1159 - Server terminates for SET plus-equal (#1160)
49+
Fix issue #1219 - MERGE not seeing previous clause var (#1441)
50+
Fix issue #1302 - crash on NULL input to UNWIND (#1304)
51+
Fix issue #1303 - Server crashes on executing SELECT * FROM agtype(null); (#1317)
52+
Fix Issue #1305 - drop_label NULL cases (#1306)
53+
Fix Issue #1329 - agtype_to_int4 crash (#1339)
54+
Fix issue #1347 - unknow type of agtype container 0 (#1349)
55+
Fix issue #1389 - Server crash on using null operand for access operators (#1390)
56+
Fix issue #1393 - previous clause variables not seen with EXISTS (#1426)
57+
Fix issue #1398 - SET followed by DELETE does not delete (#1412)
58+
Fix issue #1399 - EXISTS doesn't handle non-existent labels (#1400)
59+
Fix Issue #945 - incorrect count(*) return values (#1288)
60+
Fix typo in agtype_raw.h header guard (#1368)
61+
Implement chained expression order of operations (#1402)
62+
Implemented age_tail function (#1283)
63+
Implemented the toBooleanList() function (#1014)
64+
Implement EXISTS subquery for CASE (#1345)
65+
Minor fix in `agtype_volatile_wrapper` function (#1172)
66+
Modify COUNT() to output agtype (#1311)
67+
Optimize performance of detach delete (#1271)
68+
Optimize vertex and edge builder functions (#1252)
69+
py_driver : optimised Antlr4ResultHandler to improve time (#1107)
70+
Refactor Regression Tests for CASE statement (#1268)
71+
Refactor the IN operator to use '= ANY()' syntax (#1236)
72+
Removed unnecessary assignment (#1185)
73+
Remove redundant job from CIs (#1473)
74+
Remove unnecessary #include in src/backend/utils
75+
Updated age.control.
76+
Updated files, format, and version information.
77+
Updated Makefile.
78+
Updated RELEASE.
79+
Update Discord channel in README.md (#1253)
80+
Update README.md file for PostgreSQL version 16 support (#1463)
81+
Update the Python Driver (#1246)

age.control

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
default_version = '1.4.0'
18+
default_version = '1.5.0'
1919
comment = 'AGE database extension'
2020
module_pathname = '$libdir/age'
2121

sql/age_agtype.sql

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
20-
--
19+
20+
--
2121
-- agtype type and its support functions
2222
--
2323

sql/agtype_coercions.sql

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
20-
--
19+
20+
--
2121
-- agtype - type coercions
2222
--
2323
-- agtype -> text (explicit)

sql/agtype_comparison.sql

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
20-
--
19+
20+
--
2121
-- agtype - comparison operators (=, <>, <, >, <=, >=)
2222
--
2323

sql/agtype_gin.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
19+
2020
--
2121
-- agtype GIN support
2222
--

sql/agtype_operators.sql

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
20-
--
19+
20+
--
2121
-- Contains operators @> <@
2222
--
2323
CREATE FUNCTION ag_catalog.agtype_contains(agtype, agtype)

sql/agtype_string.sql

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
20-
--
19+
20+
--
2121
-- agtype - string matching (`STARTS WITH`, `ENDS WITH`, `CONTAINS`, & =~)
2222
--
2323

0 commit comments

Comments
 (0)