You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by jg...@apache.org on 2023/01/19 20:33:09 UTC

[age] branch PG12 updated: Updated and added files for PG12 AGE release to 1.1.1

This is an automated email from the ASF dual-hosted git repository.

jgemignani pushed a commit to branch PG12
in repository https://gitbox.apache.org/repos/asf/age.git


The following commit(s) were added to refs/heads/PG12 by this push:
     new 2f85a37  Updated and added files for PG12 AGE release to 1.1.1
2f85a37 is described below

commit 2f85a37f781e8f7a1112aa36e0812d9c3a50d971
Author: John Gemignani <jr...@gmail.com>
AuthorDate: Thu Jan 19 11:59:08 2023 -0800

    Updated and added files for PG12 AGE release to 1.1.1
    
        modified:   NOTICE
        modified:   RELEASE
        new file:   age--1.1.0--1.1.1.sql
---
 NOTICE                |  2 +-
 RELEASE               |  1 +
 age--1.1.0--1.1.1.sql | 37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/NOTICE b/NOTICE
index 40ce5ef..a93fb0d 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache AGE
-Copyright 2022 The Apache Software Foundation.
+Copyright 2023 The Apache Software Foundation.
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
 
diff --git a/RELEASE b/RELEASE
index 0771e8d..f77ba7c 100644
--- a/RELEASE
+++ b/RELEASE
@@ -22,6 +22,7 @@ Apache AGE 1.1.1 - Release Notes
     Issue (#318): PGXN Support added. (#367)
     Add the ability to pass parameters to the cypher function.
     Modify the python driver's parameterization.
+    Modify the go driver's parameterization.
     Fix compare_agtype_scalar_values returned result.
     Implement CI testing for Golang Driver (#372).
     Update to go version 1.19, as 1.16 is EOL (#373).
diff --git a/age--1.1.0--1.1.1.sql b/age--1.1.0--1.1.1.sql
new file mode 100644
index 0000000..e4ec742
--- /dev/null
+++ b/age--1.1.0--1.1.1.sql
@@ -0,0 +1,37 @@
+/*
+ * 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 ALTER EXTENSION
+\echo Use "ALTER EXTENSION age UPDATE TO '1.1.1'" to load this file. \quit
+
+-- add in new age_prepare_cypher function
+CREATE FUNCTION ag_catalog.age_prepare_cypher(cstring, cstring)
+RETURNS boolean
+LANGUAGE c
+STABLE
+PARALLEL SAFE
+AS 'MODULE_PATHNAME';
+
+-- modify the param defaults for cypher function
+CREATE OR REPLACE FUNCTION ag_catalog.cypher(graph_name name = NULL,
+                                             query_string cstring = NULL,
+                                             params agtype = NULL)
+RETURNS SETOF record
+LANGUAGE c
+AS 'MODULE_PATHNAME';