Skip to content

Commit e1467f1

Browse files
authored
Advance PG17 branch to Apache AGE version 1.7.0 (#2328)
Updated the following files to advance the Apache AGE version to 1.7.0 modified: Makefile modified: README.md modified: RELEASE renamed: age--1.6.0--y.y.y.sql -> age--1.6.0--1.7.0.sql new file: age--1.7.0--y.y.y.sql modified: age.control modified: docker/Dockerfile deleted: age--1.5.0--1.6.0.sql Resolved Conflicts: README.md RELEASE docker/Dockerfile
1 parent 59241f4 commit e1467f1

7 files changed

Lines changed: 74 additions & 104 deletions

File tree

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.6.0.sql
20+
age_sql = age--1.7.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.6.0-FFA500?labelColor=gray&style=flat&link=https://github.com/apache/age/releases"/>
33+
<img src="https://img.shields.io/badge/Release-v1.7.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/17/index.html">
@@ -125,7 +125,7 @@ Apache AGE is intended to be simple to install and run. It can be installed with
125125
&nbsp;Install PostgreSQL
126126
</h4>
127127

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

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

153153
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.
154154
</a>
155-
Run the pg_config utility and check the version of PostgreSQL. Currently, only PostgreSQL versions 11, 12, 13, 14, 15, 16 & 17 are supported. If you have any other version of Postgres, you will need to install PostgreSQL version 11, 12, 13, 14, 15, 16 & 17.
155+
Run the pg_config utility and check the version of PostgreSQL. Currently, only PostgreSQL versions 11, 12, 13, 14, 15, 16, 17 & 18 are supported. If you have any other version of Postgres, you will need to install PostgreSQL version 11, 12, 13, 14, 15, 16, 17 & 18.
156156
<br>
157157

158158
```bash

RELEASE

Lines changed: 35 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -15,96 +15,42 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18+
Release Notes for Apache AGE release 1.7.0 for PG17 branch
19+
1820
#
19-
# Please note that, as Apache AGE 1.6.0 for PostgreSQL 17 is
20-
# new, there isn't an upgrade script.
21+
# WARNING!
22+
#
23+
# Please note the upgrade script (age--1.6.0--1.7.0.sql) may take a while to
24+
# complete for large graphs, due to creation of indexes for existing labels.
25+
#
26+
# WARNING!
2127
#
2228

23-
Release Notes for Apache AGE release 1.6.0 for PG17 branch
24-
25-
Apache AGE 1.6.0 - Release Notes
29+
Apache AGE 1.7.0 - Release Notes
2630

27-
Fix issue 2205: left doesn't catch overflow (#2207)
28-
Fix issue 2201: unexpected empty string behavior (#2203)
29-
Add support for operators in cypher query (#2172)
30-
Reimplement list comprehension (#2169)
31-
Update labeler.yml (#2186)
32-
Fix issue with the CI build and labeler (#2183)
33-
Fix CSV import for edge with one property (#2175)
34-
Remove stale bot and update .asf.yaml settings (#2171)
35-
Prevent object access hook from accesing not installed namespace (#2161)
36-
Fix CI build errors caused by missing dependencies (#2163)
37-
Add support for external extensions (#2088)
38-
Fix issue 2093: pfree() called with a NULL pointer (#2095)
39-
Fix issue 1955 - List comprehension in WHERE clause (#2094)
40-
Add support for fuzzystrmatch and other external extensions (#2083)
41-
Fix memory leaks in functions part 1 (#2066)
42-
Issue 1996 - Add agtype to json typecast (#2075)
43-
Fix issue 2046: Memory leak during btree(agtype) (#2060)
44-
Refactor Dockerfile to use multi-stage builds (#2004)
45-
Revamp age csv loader (#2044)
46-
Fix issue 2020: Memory leak (#2028)
47-
Fix Issue 1907: SET on MERGE not storing edge properties (#2019)
48-
Add EmitWarningsOnPlaceholders("age") (#1997)
49-
Fix Issue 1988: How to update a property which is a keyword (#2005)
50-
Fix obsolete docker-compose command in CIs (#2007)
51-
Fix issue 1986: Failure creating label name close to MAX_LABEL_NAME_LEN (#1989)
52-
Fix issue 1953 - PG Boolean used as AGTYPE object (#1959)
53-
Add graph_exists function (#1958)
54-
Fix issue 1956 - null key name passed. (#1957)
55-
docs: add link to .NET open-source driver (#1938)
56-
Add the `load_from_plugins` parameter in the Python driver to load AGE from the $libdir/plugins directory (#1935)
57-
Fix issue 1910: Server crashes when using exists(vle path) (#1924)
58-
Converted single line comments to multiline (#1908)
59-
Add function is_valid_label_name (#1911) (#1912)
60-
Fixes small typos in the python driver's README.md file (#1909)
61-
Fix agtype_build_map to allow more than 50 pairs (#1901)
62-
Agtype hash cmp (#1893)
63-
Order some regression tests for stability on big-endian (#1892)
64-
Update github stale action (#1891)
65-
Make CALL YIELD grammar more precise (#1852)
66-
Fix issue 1878 - Regression test failure with delete global graphs (#1881)
67-
Corrected typos and grammatical errors in apache-age-basic.ipynb (#879)
68-
Add workflow for stale issues and PRs (#1872)
69-
Implement Returnless Unions in Subqueries (#1803)
70-
[CI] Update docker image tags (#1865)
71-
Add branch protection rules in .asf.yaml (#1854)
72-
[CI] Update labeler github action (#1851)
73-
Fix error using list comprehension with WITH * (#1838)
74-
python driver psycopg3 (#1793)
75-
Minor VLE and agtype_eq/ne performance updates (#1808)
76-
Fix issue 1767: CREATE TABLE AS SELECT * FROM cypher, errors (#1799)
77-
Implement Constraints on Subqueries (#1751)
78-
Fix connection string in Python Driver (#1757)
79-
Added integer conversion in toBoolean functions (#1199)
80-
Update README.md (#1756)
81-
Add the command graph_stats and improve VLE messaging for load (#1750)
82-
Add helpful messages to the VLE subsystem (#1742)
83-
Update README.md (#1728)
84-
Added Networkx Support in python driver (#1716)
85-
Remove duplicate check (#1740)
86-
Fix Issue 1709 - MERGE creates incomplete vertices after the first one (#1721)
87-
Fix shift/reduce conflict in grammar (#1719)
88-
Fix Issue 1691 - MERGE incorrectly creates multiple vertices (#1718)
89-
Implement map projection (#1710)
90-
Add hooks for multi-arch builds on dockerhub (#1683)
91-
Sample code for AGE-JDBC driver (#390)
92-
Allow agtype_build_map to use AGTYPE keys (#1666)
93-
Implement EXISTS Subquery (#1562)
94-
Fix Issue 1634: Setting all properties with map object causes error (#1637)
95-
Fix Issue 1630: MERGE using array not working in some cases (#1636)
96-
Implement list comprehension (#1610)
97-
Update Go installation and add in parser files (#1582)
98-
Add optional parameter '=' in property constraints (#1516)
99-
Fix unsorted output of some queries in the cypher_match test (#1507)
100-
Update age_load to make property value conversion optional (#1525)
101-
Update the Go driver documentation, Linux installer, and CI (#1527)
102-
Fix json serialization error in Python Driver (#1228)
103-
Add template for upgrading between versions of Apache AGE (#1506)
104-
Update age_load to load scalar property values with appropriate type (#1519)
105-
Fix apache#1513 - Invalid variable reuse in CREATE and MERGE clause (#1515)
106-
Clean up #included files in src/include directories (#1518)
107-
Bump gopkg.in/yaml.v3 in /drivers/golang (#1202)
108-
Clean up #included files in catalog & commands directories (#1514)
109-
Clean up #included files in nodes, executor, & optimizer directories (#1509)
110-
Correct cleanup of age--x.x.x.sql files (#1505)
31+
Fix upgrade script for 1.6.0 to 1.7.0 (#2320)
32+
Add RLS support and fix permission checks (#2309)
33+
Replace libcsv with pg COPY for csv loading (#2310)
34+
Fix Issue 1884: Ambiguous column reference (#2306)
35+
Upgrade Jest to v29 for node: protocol compatibility (#2307)
36+
Optimize vertex/edge field access with direct array indexing (#2302)
37+
feat: Add 32-bit platform support for graphid type (#2286)
38+
Fix and improve index.sql addendum (#2301)
39+
Fix and improve index.sql regression test coverage (#2300)
40+
Fix Issue 2289: handle empty list in IN expression (#2294)
41+
Revise README for Python driver updates (#2298)
42+
Makefile: fix race condition on cypher_gram_def.h (#2273)
43+
Restrict age_load commands (#2274)
44+
Migrate python driver configuration to pyproject.toml (#2272)
45+
Convert string to raw string to remove invalid escape sequence warning (#2267)
46+
Update grammar file for maintainability (#2270)
47+
Fix ORDER BY alias resolution with AS in Cypher queries (#2269)
48+
Fix possible memory and file descriptors leaks (#2258)
49+
Adjust 'could not find rte for' ERROR message (#2266)
50+
Fix Issue 2256: segmentation fault when calling coalesce function (#2259)
51+
Add index on id columns (#2117)
52+
Fix issue 2245 - Creating more than 41 vlabels causes crash in drop_graph (#2248)
53+
Fix issue 2243 - Regression in string concatenation (#2244)
54+
Add fast functions for checking edge uniqueness (#2227)
55+
Bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 in /drivers/golang (#2212)
56+
Fix issue with CALL/YIELD for user defined and qualified functions. (#2217)
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,11 @@
1717
* under the License.
1818
*/
1919

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-
2420
-- This will only work within a major version of PostgreSQL, not across
2521
-- major versions.
2622

2723
-- 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 --*
24+
\echo Use "ALTER EXTENSION age UPDATE TO '1.7.0'" to load this file. \quit
3325

3426
CREATE FUNCTION ag_catalog._ag_enforce_edge_uniqueness2(graphid, graphid)
3527
RETURNS bool

age--1.7.0--y.y.y.sql

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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 --*

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.6.0'
18+
default_version = '1.7.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/17/lib/age.so /usr/lib/postgresql/17/lib/
52-
COPY --from=build /usr/share/postgresql/17/extension/age--1.6.0.sql /usr/share/postgresql/17/extension/
52+
COPY --from=build /usr/share/postgresql/17/extension/age--1.7.0.sql /usr/share/postgresql/17/extension/
5353
COPY --from=build /usr/share/postgresql/17/extension/age.control /usr/share/postgresql/17/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)