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

commit b533a1c8967f40e003ff5c97ca352fc204bc0082
Author: John Gemignani <[email protected]>
AuthorDate: Tue Nov 22 16:43:52 2022 -0800

    Add license header
    
    Added license header to the following 3 files -
    
       regress/sql/age_global_graph.sql
       regress/sql/age_load.sql
       regress/sql/index.sql
    
    Adjusted regression tests for these 3.
---
 regress/expected/age_global_graph.out | 29 +++++++++++++++++++++++------
 regress/expected/age_load.out         | 18 ++++++++++++++++++
 regress/expected/index.out            | 18 ++++++++++++++++++
 regress/sql/age_global_graph.sql      | 30 ++++++++++++++++++++++++------
 regress/sql/age_load.sql              | 19 +++++++++++++++++++
 regress/sql/index.sql                 | 19 +++++++++++++++++++
 6 files changed, 121 insertions(+), 12 deletions(-)

diff --git a/regress/expected/age_global_graph.out 
b/regress/expected/age_global_graph.out
index 171ec1b..9512a7a 100644
--- a/regress/expected/age_global_graph.out
+++ b/regress/expected/age_global_graph.out
@@ -1,9 +1,27 @@
+/*
+ * 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.
+ */
 LOAD 'age';
 SET search_path TO ag_catalog;
 --
--- test delete_specific_GRAPH_global_contexts function 
+-- test delete_specific_GRAPH_global_contexts function
 --
--- create 3 graphs 
+-- create 3 graphs
 SELECT * FROM create_graph('age_global_graph_1');
 NOTICE:  graph "age_global_graph_1" has been created
  create_graph 
@@ -43,7 +61,7 @@ SELECT * FROM cypher('age_global_graph_3', $$ CREATE 
(v:vertex_from_graph_3) RET
  {"id": 844424930131969, "label": "vertex_from_graph_3", "properties": 
{}}::vertex
 (1 row)
 
--- load contexts using the vertex_stats command 
+-- load contexts using the vertex_stats command
 SELECT * FROM cypher('age_global_graph_3', $$ MATCH (u) RETURN vertex_stats(u) 
$$) AS (result agtype);
                                                   result                       
                            
 
-----------------------------------------------------------------------------------------------------------
@@ -106,11 +124,10 @@ SELECT * FROM cypher('age_global_graph_3', $$ RETURN 
delete_global_graphs('age_g
  false
 (1 row)
 
-    
 --
--- test delete_GRAPH_global_contexts function 
+-- test delete_GRAPH_global_contexts function
 --
--- load contexts again 
+-- load contexts again
 SELECT * FROM cypher('age_global_graph_3', $$ MATCH (u) RETURN vertex_stats(u) 
$$) AS (result agtype);
                                                   result                       
                            
 
-----------------------------------------------------------------------------------------------------------
diff --git a/regress/expected/age_load.out b/regress/expected/age_load.out
index bae5924..5e74eaa 100644
--- a/regress/expected/age_load.out
+++ b/regress/expected/age_load.out
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
 \! cp -r regress/age_load/data regress/instance/data/age_load
 LOAD 'age';
 SET search_path TO ag_catalog;
diff --git a/regress/expected/index.out b/regress/expected/index.out
index a27ca5b..c4f9012 100644
--- a/regress/expected/index.out
+++ b/regress/expected/index.out
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
 \! cp -r regress/age_load/data regress/instance/data/age_load
 LOAD 'age';
 SET search_path TO ag_catalog;
diff --git a/regress/sql/age_global_graph.sql b/regress/sql/age_global_graph.sql
index a62d335..fa2dba9 100644
--- a/regress/sql/age_global_graph.sql
+++ b/regress/sql/age_global_graph.sql
@@ -1,11 +1,30 @@
+/*
+ * 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.
+ */
+
 LOAD 'age';
 SET search_path TO ag_catalog;
 
 --
--- test delete_specific_GRAPH_global_contexts function 
+-- test delete_specific_GRAPH_global_contexts function
 --
 
--- create 3 graphs 
+-- create 3 graphs
 SELECT * FROM create_graph('age_global_graph_1');
 SELECT * FROM cypher('age_global_graph_1', $$ CREATE (v:vertex_from_graph_1) 
RETURN v  $$) AS (v agtype);
 
@@ -15,7 +34,7 @@ SELECT * FROM cypher('age_global_graph_2', $$ CREATE 
(v:vertex_from_graph_2) RET
 SELECT * FROM create_graph('age_global_graph_3');
 SELECT * FROM cypher('age_global_graph_3', $$ CREATE (v:vertex_from_graph_3) 
RETURN v  $$) AS (v agtype);
 
--- load contexts using the vertex_stats command 
+-- load contexts using the vertex_stats command
 SELECT * FROM cypher('age_global_graph_3', $$ MATCH (u) RETURN vertex_stats(u) 
$$) AS (result agtype);
 SELECT * FROM cypher('age_global_graph_2', $$ MATCH (u) RETURN vertex_stats(u) 
$$) AS (result agtype);
 SELECT * FROM cypher('age_global_graph_1', $$ MATCH (u) RETURN vertex_stats(u) 
$$) AS (result agtype);
@@ -38,12 +57,11 @@ SELECT * FROM cypher('age_global_graph_2', $$ RETURN 
delete_global_graphs('age_g
 SELECT * FROM cypher('age_global_graph_1', $$ RETURN 
delete_global_graphs('age_global_graph_1') $$) AS (result agtype);
 SELECT * FROM cypher('age_global_graph_3', $$ RETURN 
delete_global_graphs('age_global_graph_3') $$) AS (result agtype);
 
-    
 --
--- test delete_GRAPH_global_contexts function 
+-- test delete_GRAPH_global_contexts function
 --
 
--- load contexts again 
+-- load contexts again
 SELECT * FROM cypher('age_global_graph_3', $$ MATCH (u) RETURN vertex_stats(u) 
$$) AS (result agtype);
 SELECT * FROM cypher('age_global_graph_2', $$ MATCH (u) RETURN vertex_stats(u) 
$$) AS (result agtype);
 SELECT * FROM cypher('age_global_graph_1', $$ MATCH (u) RETURN vertex_stats(u) 
$$) AS (result agtype);
diff --git a/regress/sql/age_load.sql b/regress/sql/age_load.sql
index 3516a17..105c2fa 100644
--- a/regress/sql/age_load.sql
+++ b/regress/sql/age_load.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.
+ */
+
 \! cp -r regress/age_load/data regress/instance/data/age_load
 
 LOAD 'age';
diff --git a/regress/sql/index.sql b/regress/sql/index.sql
index 9e1cd04..9532208 100644
--- a/regress/sql/index.sql
+++ b/regress/sql/index.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.
+ */
+
 \! cp -r regress/age_load/data regress/instance/data/age_load
 
 LOAD 'age';

Reply via email to