Skip to content

Commit 98896c3

Browse files
authored
Advance PG15 branch to Apache AGE version 1.6.0 (#2196) (#2235)
Updated the following files to advance the Apache AGE version to 1.6.0 modified: Makefile modified: README.md modified: RELEASE modified: age.control modified: docker/Dockerfile renamed: age--1.5.0--y.y.y.sql -> age--1.5.0--1.6.0.sql modified: age--1.5.0--y.y.y.sql new file: age--1.6.0--y.y.y.sql Resolved conflicts: RELEASE docker/Dockerfile
1 parent b51f4c3 commit 98896c3

File tree

7 files changed

+141
-79
lines changed

7 files changed

+141
-79
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
MODULE_big = age
1919

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

2222
OBJS = src/backend/age.o \
2323
src/backend/catalog/ag_catalog.o \

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</a>
3131
&nbsp;
3232
<a href="https://github.com/apache/age/releases">
33-
<img src="https://img.shields.io/badge/Release-v1.5.0-FFA500?labelColor=gray&style=flat&link=https://github.com/apache/age/releases"/>
33+
<img src="https://img.shields.io/badge/Release-v1.6.0-FFA500?labelColor=gray&style=flat&link=https://github.com/apache/age/releases"/>
3434
</a>
3535
&nbsp;
3636
<a href="https://www.postgresql.org/docs/15/index.html">
@@ -131,7 +131,7 @@ Apache AGE is intended to be simple to install and run. It can be installed with
131131
&nbsp;Install PostgreSQL
132132
</h4>
133133

134-
You will need to install an AGE compatible version of Postgres<a>, for now AGE supports Postgres 11, 12, 13, 14 & 15. Supporting the latest versions is on AGE roadmap.
134+
You will need to install an AGE compatible version of Postgres<a>, for now AGE supports Postgres 13, 14, 15, 16, & 17. Supporting the latest versions is on AGE roadmap.
135135

136136
<h4>
137137
&nbsp;Installation via Package Manager
@@ -158,7 +158,7 @@ You can <a href="https://www.postgresql.org/ftp/source/"> download the Postgres
158158

159159
Clone the <a href="https://github.com/apache/age">github repository</a> or download the <a href="https://github.com/apache/age/releases">download an official release.
160160
</a>
161-
Run the pg_config utility and check the version of PostgreSQL. Currently, only PostgreSQL versions 11, 12, 13, 14 & 15 are supported. If you have any other version of Postgres, you will need to install PostgreSQL version 11, 12, 13, 14, or 15.
161+
Run the pg_config utility and check the version of PostgreSQL. Currently, only PostgreSQL versions 13, 14, 15, 16, & 17 are supported. If you have any other version of Postgres, you will need to install PostgreSQL version 13, 14, 15, 16, or 17.
162162
<br>
163163

164164
```bash

RELEASE

Lines changed: 86 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -15,69 +15,91 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
Release Notes for Apache AGE release 1.5.0 for PostgreSQL version 15
18+
Release Notes for Apache AGE release 1.6.0 for PostgreSQL version 15
1919

20-
Apache AGE 1.5.0 - Release Notes
20+
Apache AGE 1.6.0 - Release Notes
2121

22-
NOTE: Due to the complexity and the amount of additions, there are no
23-
upgrade scripts to this release.
24-
25-
NOTE: Some of these reference the master branch PR that was
26-
either applied to lower versions via a separate PR or
27-
merged into a newly created branch.
28-
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 Docker file to reflect PostgreSQL version 15 (#1449)
47-
Fix DockerHub warning messages for latest (#1380)
48-
Fix issue #1045 - error using path var in WHERE (#1295)
49-
Fix Issue #1159 - Server terminates for SET plus-equal (#1160)
50-
Fix issue #1219 - MERGE not seeing previous clause var (#1441)
51-
Fix issue #1302 - crash on NULL input to UNWIND (#1304)
52-
Fix issue #1303 - Server crashes on executing SELECT * FROM agtype(null); (#1317)
53-
Fix Issue #1305 - drop_label NULL cases (#1306)
54-
Fix Issue #1329 - agtype_to_int4 crash (#1339)
55-
Fix issue #1347 - unknow type of agtype container 0 (#1349)
56-
Fix issue #1389 - Server crash on using null operand for access operators (#1390)
57-
Fix issue #1393 - previous clause variables not seen with EXISTS (#1426)
58-
Fix issue #1398 - SET followed by DELETE does not delete (#1412)
59-
Fix issue #1399 - EXISTS doesn't handle non-existent labels (#1400)
60-
Fix Issue #945 - incorrect count(*) return values (#1288)
61-
Fix typo in agtype_raw.h header guard (#1368)
62-
Implement chained expression order of operations (#1402)
63-
Implemented age_tail function (#1283)
64-
Implemented the toBooleanList() function (#1014)
65-
Implement EXISTS subquery for CASE (#1345)
66-
Master to PostgreSQL version 16 (#1451)
67-
Minor fix in `agtype_volatile_wrapper` function (#1172)
68-
Modify COUNT() to output agtype (#1311)
69-
Optimize performance of detach delete (#1271)
70-
Optimize vertex and edge builder functions (#1252)
71-
py_driver : optimised Antlr4ResultHandler to improve time (#1107)
72-
Refactor Regression Tests for CASE statement (#1268)
73-
Refactor the IN operator to use '= ANY()' syntax (#1236)
74-
Removed unnecessary assignment (#1185)
75-
Remove redundant job from CIs (#1473)
76-
Remove unnecessary #include in src/backend/utils
77-
Updated age.control.
78-
Updated files, format, and version information.
79-
Updated Makefile.
80-
Updated RELEASE.
81-
Update Discord channel in README.md (#1253)
82-
Update README.md file for PostgreSQL version 16 support (#1463)
83-
Update the Python Driver (#1246)
22+
Fix issue 2205: left doesn't catch overflow (#2207)
23+
Fix issue 2201: unexpected empty string behavior (#2203)
24+
Add support for operators in cypher query (#2172)
25+
Reimplement list comprehension (#2169)
26+
Update labeler.yml (#2186)
27+
Fix issue with the CI build and labeler (#2183)
28+
Fix CSV import for edge with one property (#2175)
29+
Remove stale bot and update .asf.yaml settings (#2171)
30+
Prevent object access hook from accesing not installed namespace (#2161)
31+
Fix CI build errors caused by missing dependencies (#2163)
32+
Add support for external extensions (#2088)
33+
Fix issue 2093: pfree() called with a NULL pointer (#2095)
34+
Fix issue 1955 - List comprehension in WHERE clause (#2094)
35+
Add support for fuzzystrmatch and other external extensions (#2083)
36+
Fix memory leaks in functions part 1 (#2066)
37+
Issue 1996 - Add agtype to json typecast (#2075)
38+
Fix issue 2046: Memory leak during btree(agtype) (#2060)
39+
Refactor Dockerfile to use multi-stage builds (#2004)
40+
Revamp age csv loader (#2044)
41+
Fix issue 2020: Memory leak (#2028)
42+
Fix Issue 1907: SET on MERGE not storing edge properties (#2019)
43+
Add EmitWarningsOnPlaceholders("age") (#1997)
44+
Fix Issue 1988: How to update a property which is a keyword (#2005)
45+
Fix obsolete docker-compose command in CIs (#2007)
46+
Fix issue 1986: Failure creating label name close to MAX_LABEL_NAME_LEN (#1989)
47+
Fix issue 1953 - PG Boolean used as AGTYPE object (#1959)
48+
Add graph_exists function (#1958)
49+
Fix issue 1956 - null key name passed. (#1957)
50+
docs: add link to .NET open-source driver (#1938)
51+
Add the `load_from_plugins` parameter in the Python driver to load AGE from the $libdir/plugins directory (#1935)
52+
Fix issue 1910: Server crashes when using exists(vle path) (#1924)
53+
Converted single line comments to multiline (#1908)
54+
Add function is_valid_label_name (#1911) (#1912)
55+
Fixes small typos in the python driver's README.md file (#1909)
56+
Fix agtype_build_map to allow more than 50 pairs (#1901)
57+
Agtype hash cmp (#1893)
58+
Order some regression tests for stability on big-endian (#1892)
59+
Update github stale action (#1891)
60+
Make CALL YIELD grammar more precise (#1852)
61+
Fix issue 1878 - Regression test failure with delete global graphs (#1881)
62+
Corrected typos and grammatical errors in apache-age-basic.ipynb (#879)
63+
Add workflow for stale issues and PRs (#1872)
64+
Implement Returnless Unions in Subqueries (#1803)
65+
[CI] Update docker image tags (#1865)
66+
Add branch protection rules in .asf.yaml (#1854)
67+
[CI] Update labeler github action (#1851)
68+
Fix error using list comprehension with WITH * (#1838)
69+
python driver psycopg3 (#1793)
70+
Minor VLE and agtype_eq/ne performance updates (#1808)
71+
Fix issue 1767: CREATE TABLE AS SELECT * FROM cypher, errors (#1799)
72+
Implement Constraints on Subqueries (#1751)
73+
Fix connection string in Python Driver (#1757)
74+
Added integer conversion in toBoolean functions (#1199)
75+
Update README.md (#1756)
76+
Add the command graph_stats and improve VLE messaging for load (#1750)
77+
Add helpful messages to the VLE subsystem (#1742)
78+
Update README.md (#1728)
79+
Added Networkx Support in python driver (#1716)
80+
Remove duplicate check (#1740)
81+
Fix Issue 1709 - MERGE creates incomplete vertices after the first one (#1721)
82+
Fix shift/reduce conflict in grammar (#1719)
83+
Fix Issue 1691 - MERGE incorrectly creates multiple vertices (#1718)
84+
Implement map projection (#1710)
85+
Add hooks for multi-arch builds on dockerhub (#1683)
86+
Sample code for AGE-JDBC driver (#390)
87+
Allow agtype_build_map to use AGTYPE keys (#1666)
88+
Implement EXISTS Subquery (#1562)
89+
Fix Issue 1634: Setting all properties with map object causes error (#1637)
90+
Fix Issue 1630: MERGE using array not working in some cases (#1636)
91+
Implement list comprehension (#1610)
92+
Update Go installation and add in parser files (#1582)
93+
Add optional parameter '=' in property constraints (#1516)
94+
Fix unsorted output of some queries in the cypher_match test (#1507)
95+
Update age_load to make property value conversion optional (#1525)
96+
Update the Go driver documentation, Linux installer, and CI (#1527)
97+
Fix json serialization error in Python Driver (#1228)
98+
Add template for upgrading between versions of Apache AGE (#1506)
99+
Update age_load to load scalar property values with appropriate type (#1519)
100+
Fix apache#1513 - Invalid variable reuse in CREATE and MERGE clause (#1515)
101+
Clean up #included files in src/include directories (#1518)
102+
Bump gopkg.in/yaml.v3 in /drivers/golang (#1202)
103+
Clean up #included files in catalog & commands directories (#1514)
104+
Clean up #included files in nodes, executor, & optimizer directories (#1509)
105+
Correct cleanup of age--x.x.x.sql files (#1505)
Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,23 @@
1717
* under the License.
1818
*/
1919

20-
-- This is a template for upgrading from the previous version of Apache AGE
21-
-- It will only work within versions of PostgreSQL, not across.
22-
-- Please adjust the below ALTER EXTENSION to reflect the correct version
23-
-- it is upgrading to.
20+
--- This will only work within a major version of PostgreSQL, not across
21+
--- major versions.
22+
23+
--
24+
-- WARNING!
25+
--
26+
-- Since there are modifications to agtype gin operators, users who are
27+
-- upgrading will have to drop the gin indexes before running this script and
28+
-- recreate them afterwards.
29+
--
30+
-- As always, please backup your database prior to any upgrade.
31+
--
32+
-- WARNING!
33+
--
2434

2535
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
26-
\echo Use "ALTER EXTENSION age UPDATE TO '1.4.0'" to load this file. \quit
27-
28-
-- Please add all additions, deletions, and modifications to the end of this
29-
-- file. We need to keep the order of these changes.
36+
\echo Use "ALTER EXTENSION age UPDATE TO '1.6.0'" to load this file. \quit
3037

3138
DROP FUNCTION IF EXISTS ag_catalog.load_labels_from_file(name, name, text, bool);
3239
CREATE FUNCTION ag_catalog.load_labels_from_file(graph_name name,
@@ -83,7 +90,7 @@ CREATE OPERATOR <<@ (
8390

8491
/*
8592
* We have to drop and recreate the operators, because
86-
* commutator is not modifiable using ALTER OPERATOR.
93+
* commutator is not modifiable using ALTER OPERATOR.
8794
*/
8895
ALTER EXTENSION age
8996
DROP OPERATOR ? (agtype, agtype);

age--1.6.0--y.y.y.sql

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
20+
--* This is a TEMPLATE for upgrading from the previous version of Apache AGE
21+
--* Please adjust the below ALTER EXTENSION to reflect the -- correct version it
22+
--* is upgrading to.
23+
24+
-- This will only work within a major version of PostgreSQL, not across
25+
-- major versions.
26+
27+
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
28+
\echo Use "ALTER EXTENSION age UPDATE TO '1.X.0'" to load this file. \quit
29+
30+
--* Please add all additions, deletions, and modifications to the end of this
31+
--* file. We need to keep the order of these changes.
32+
--* REMOVE ALL LINES ABOVE, and this one, that start with --*
33+

age.control

Lines changed: 1 addition & 1 deletion
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.5.0'
18+
default_version = '1.6.0'
1919
comment = 'AGE database extension'
2020
module_pathname = '$libdir/age'
2121

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ENV LC_COLLATE=en_US.UTF-8
4949
ENV LC_CTYPE=en_US.UTF-8
5050

5151
COPY --from=build /usr/lib/postgresql/15/lib/age.so /usr/lib/postgresql/15/lib/
52-
COPY --from=build /usr/share/postgresql/15/extension/age--1.5.0.sql /usr/share/postgresql/15/extension/
52+
COPY --from=build /usr/share/postgresql/15/extension/age--1.6.0.sql /usr/share/postgresql/15/extension/
5353
COPY --from=build /usr/share/postgresql/15/extension/age.control /usr/share/postgresql/15/extension/
5454
COPY docker/docker-entrypoint-initdb.d/00-create-extension-age.sql /docker-entrypoint-initdb.d/00-create-extension-age.sql
5555

0 commit comments

Comments
 (0)