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 2022/03/08 18:42:27 UTC
[incubator-age] branch master updated: Add ASF license to upgrade scripts
This is an automated email from the ASF dual-hosted git repository.
jgemignani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
The following commit(s) were added to refs/heads/master by this push:
new bad75c0 Add ASF license to upgrade scripts
bad75c0 is described below
commit bad75c04a80f891b441e59f2bad5f076af93356e
Author: John Gemignani <jr...@gmail.com>
AuthorDate: Tue Mar 8 09:29:08 2022 -0800
Add ASF license to upgrade scripts
Added the ASF license to the upgrade scripts.
Minor formatting of contents.
---
age--0.5.0--0.6.0.sql | 30 ++++++++++++++++++++++++++----
age--0.6.0--0.7.0.sql | 28 ++++++++++++++++++++++------
age--0.7.0--1.0.0.sql | 24 +++++++++++++++++++++++-
3 files changed, 71 insertions(+), 11 deletions(-)
diff --git a/age--0.5.0--0.6.0.sql b/age--0.5.0--0.6.0.sql
index 3f9f071..dbe620f 100644
--- a/age--0.5.0--0.6.0.sql
+++ b/age--0.5.0--0.6.0.sql
@@ -1,12 +1,34 @@
+/*
+ * 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 '0.6.0'" to load this file. \quit
-CREATE OR REPLACE FUNCTION ag_catalog.age_vle(
- IN agtype, IN agtype, IN agtype, IN agtype,
- IN agtype, IN agtype, IN agtype,
- OUT edges agtype)
+CREATE OR REPLACE FUNCTION ag_catalog.age_vle(IN agtype, IN agtype, IN agtype,
+ IN agtype, IN agtype, IN agtype,
+ IN agtype, OUT edges agtype)
RETURNS SETOF agtype
LANGUAGE C
IMMUTABLE
STRICT
AS 'MODULE_PATHNAME';
+
+--
+-- End
+--
diff --git a/age--0.6.0--0.7.0.sql b/age--0.6.0--0.7.0.sql
index 518ae1a..cdbaf44 100644
--- a/age--0.6.0--0.7.0.sql
+++ b/age--0.6.0--0.7.0.sql
@@ -1,3 +1,22 @@
+/*
+ * 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 '0.7.0'" to load this file. \quit
@@ -74,9 +93,9 @@ STABLE
PARALLEL SAFE
AS 'MODULE_PATHNAME';
-CREATE OR REPLACE FUNCTION ag_catalog.age_vle(IN agtype, IN agtype, IN agtype, IN agtype,
- IN agtype, IN agtype, IN agtype,
- OUT edges agtype)
+CREATE OR REPLACE FUNCTION ag_catalog.age_vle(IN agtype, IN agtype, IN agtype,
+ IN agtype, IN agtype, IN agtype,
+ IN agtype, OUT edges agtype)
RETURNS SETOF agtype
LANGUAGE C
STABLE
@@ -101,7 +120,6 @@ CALLED ON NULL INPUT
PARALLEL SAFE
AS 'MODULE_PATHNAME';
-
-- function to create an AGTV_PATH from a VLE_path_container
CREATE FUNCTION ag_catalog.age_materialize_vle_path(agtype)
RETURNS agtype
@@ -128,7 +146,6 @@ RETURNS NULL ON NULL INPUT
PARALLEL SAFE
AS 'MODULE_PATHNAME';
-
CREATE FUNCTION ag_catalog.age_match_two_vle_edges(agtype, agtype)
RETURNS boolean
LANGUAGE C
@@ -178,4 +195,3 @@ AS 'MODULE_PATHNAME';
--
-- End
--
-
diff --git a/age--0.7.0--1.0.0.sql b/age--0.7.0--1.0.0.sql
index cff34c0..59d3bff 100644
--- a/age--0.7.0--1.0.0.sql
+++ b/age--0.7.0--1.0.0.sql
@@ -1,3 +1,22 @@
+/*
+ * 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.0.0'" to load this file. \quit
@@ -20,7 +39,7 @@ CREATE FUNCTION ag_catalog._cypher_merge_clause(internal)
RETURNS void
LANGUAGE c
AS 'MODULE_PATHNAME';
-
+
CREATE FUNCTION ag_catalog.age_unnest(agtype, block_types boolean = false)
RETURNS SETOF agtype
LANGUAGE c
@@ -28,3 +47,6 @@ CREATE FUNCTION ag_catalog.age_unnest(agtype, block_types boolean = false)
PARALLEL SAFE
AS 'MODULE_PATHNAME';
+--
+-- End
+--