You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by wl...@apache.org on 2015/11/12 04:35:43 UTC
[08/14] incubator-hawq git commit: HAWQ-57. Add license header to
source files and add the NOTICE file
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/caql/test/caqlaccess_test.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/test/caqlaccess_test.c b/src/backend/catalog/caql/test/caqlaccess_test.c
index defb16d..add1fa1 100644
--- a/src/backend/catalog/caql/test/caqlaccess_test.c
+++ b/src/backend/catalog/caql/test/caqlaccess_test.c
@@ -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.
+ */
+
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/caql/test/caqlanalyze_test.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/test/caqlanalyze_test.c b/src/backend/catalog/caql/test/caqlanalyze_test.c
index 254db0a..cbf686e 100644
--- a/src/backend/catalog/caql/test/caqlanalyze_test.c
+++ b/src/backend/catalog/caql/test/caqlanalyze_test.c
@@ -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.
+ */
+
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/caql/test/catquery_mock.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/test/catquery_mock.c b/src/backend/catalog/caql/test/catquery_mock.c
index 09f7e4d..d59789a 100644
--- a/src/backend/catalog/caql/test/catquery_mock.c
+++ b/src/backend/catalog/caql/test/catquery_mock.c
@@ -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.
+ */
+
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/caql/test/catquery_test.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/test/catquery_test.c b/src/backend/catalog/caql/test/catquery_test.c
index f7576f2..0362d70 100644
--- a/src/backend/catalog/caql/test/catquery_test.c
+++ b/src/backend/catalog/caql/test/catquery_test.c
@@ -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.
+ */
+
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/caql/test/gram_test.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/test/gram_test.c b/src/backend/catalog/caql/test/gram_test.c
index 6fefb1c..78bc5a0 100644
--- a/src/backend/catalog/caql/test/gram_test.c
+++ b/src/backend/catalog/caql/test/gram_test.c
@@ -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.
+ */
+
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/caql/test_discard/caqlanalyze_test.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/test_discard/caqlanalyze_test.c b/src/backend/catalog/caql/test_discard/caqlanalyze_test.c
index 254db0a..cbf686e 100644
--- a/src/backend/catalog/caql/test_discard/caqlanalyze_test.c
+++ b/src/backend/catalog/caql/test_discard/caqlanalyze_test.c
@@ -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.
+ */
+
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/caql/test_discard/catquery_mock.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/test_discard/catquery_mock.c b/src/backend/catalog/caql/test_discard/catquery_mock.c
index 9249c1e..e7da8c2 100644
--- a/src/backend/catalog/caql/test_discard/catquery_mock.c
+++ b/src/backend/catalog/caql/test_discard/catquery_mock.c
@@ -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.
+ */
+
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/caql/test_discard/catquery_test.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/test_discard/catquery_test.c b/src/backend/catalog/caql/test_discard/catquery_test.c
index d76ef74..28d9338 100644
--- a/src/backend/catalog/caql/test_discard/catquery_test.c
+++ b/src/backend/catalog/caql/test_discard/catquery_test.c
@@ -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.
+ */
+
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/caql/test_discard/gram_test.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/test_discard/gram_test.c b/src/backend/catalog/caql/test_discard/gram_test.c
index 6fefb1c..78bc5a0 100644
--- a/src/backend/catalog/caql/test_discard/gram_test.c
+++ b/src/backend/catalog/caql/test_discard/gram_test.c
@@ -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.
+ */
+
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/core/catcore.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/core/catcore.c b/src/backend/catalog/core/catcore.c
index dabff06..07502dc 100644
--- a/src/backend/catalog/core/catcore.c
+++ b/src/backend/catalog/core/catcore.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* catcore.c
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/core/catcoregen.py
----------------------------------------------------------------------
diff --git a/src/backend/catalog/core/catcoregen.py b/src/backend/catalog/core/catcoregen.py
old mode 100755
new mode 100644
index 2c07df4..1c725fe
--- a/src/backend/catalog/core/catcoregen.py
+++ b/src/backend/catalog/core/catcoregen.py
@@ -1,4 +1,20 @@
#!/usr/bin/env python
+# 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.
# -----------------------------------------------------------------
# catcoregen.py
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/core/catheader.py
----------------------------------------------------------------------
diff --git a/src/backend/catalog/core/catheader.py b/src/backend/catalog/core/catheader.py
index 8d10bab..0d23fc5 100644
--- a/src/backend/catalog/core/catheader.py
+++ b/src/backend/catalog/core/catheader.py
@@ -1,4 +1,20 @@
#!/usr/bin/env python
+# 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.
import re
import os
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/core/test/catcore_test.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/core/test/catcore_test.c b/src/backend/catalog/core/test/catcore_test.c
index 3e679fc..fc0b593 100644
--- a/src/backend/catalog/core/test/catcore_test.c
+++ b/src/backend/catalog/core/test/catcore_test.c
@@ -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.
+ */
+
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/gp_fastsequence.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/gp_fastsequence.c b/src/backend/catalog/gp_fastsequence.c
index bb2dc81..2284aa7 100644
--- a/src/backend/catalog/gp_fastsequence.c
+++ b/src/backend/catalog/gp_fastsequence.c
@@ -1,14 +1,26 @@
+/*
+ * 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.
+ */
/*-------------------------------------------------------------------------
*
* gp_fastsequence.c
* routines to maintain a light-weight sequence table.
*
- * Copyright (c) 2009, Greenplum Inc.
- *
- * $Id: $
- * $Change: $
- * $DateTime: $
- * $Author: $
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/gp_global_sequence.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/gp_global_sequence.c b/src/backend/catalog/gp_global_sequence.c
index b27fffb..4620ce7 100755
--- a/src/backend/catalog/gp_global_sequence.c
+++ b/src/backend/catalog/gp_global_sequence.c
@@ -1,9 +1,25 @@
+/*
+ * 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.
+ */
/*-------------------------------------------------------------------------
*
* gp_global_sequence.c
*
- * Copyright (c) 2009-2010, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/gp_persistent.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/gp_persistent.c b/src/backend/catalog/gp_persistent.c
index b48298e..cb5120b 100755
--- a/src/backend/catalog/gp_persistent.c
+++ b/src/backend/catalog/gp_persistent.c
@@ -1,9 +1,25 @@
+/*
+ * 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.
+ */
/*-------------------------------------------------------------------------
*
* gp_persistent.c
*
- * Copyright (c) 2009-2010, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/catalog/hcatalog/externalmd.c
----------------------------------------------------------------------
diff --git a/src/backend/catalog/hcatalog/externalmd.c b/src/backend/catalog/hcatalog/externalmd.c
index e878f2d..a8b723f 100644
--- a/src/backend/catalog/hcatalog/externalmd.c
+++ b/src/backend/catalog/hcatalog/externalmd.c
@@ -1,4 +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.
+ */
+/*
* externalmd.c
*
* Created on: Mar 6, 2015
@@ -7,8 +25,6 @@
*
* Utilities for loading external hcatalog metadata
*
- * Copyright (c), 2015, Pivotal Inc.
- *
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbanalyze.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbanalyze.c b/src/backend/cdb/cdbanalyze.c
index e14379b..d94d4b6 100644
--- a/src/backend/cdb/cdbanalyze.c
+++ b/src/backend/cdb/cdbanalyze.c
@@ -1,10 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbanalyze.c
* Provides routines for performing distributed analyze cdb
*
- * Copyright (c) 2005-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbappendonlystorage.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbappendonlystorage.c b/src/backend/cdb/cdbappendonlystorage.c
index 0df5dd3..e81d8f7 100644
--- a/src/backend/cdb/cdbappendonlystorage.c
+++ b/src/backend/cdb/cdbappendonlystorage.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbappendonlystorage.c
*
- * Copyright (c) 2007-2009, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbappendonlystorageformat.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbappendonlystorageformat.c b/src/backend/cdb/cdbappendonlystorageformat.c
old mode 100755
new mode 100644
index c460cd8..1aa5af8
--- a/src/backend/cdb/cdbappendonlystorageformat.c
+++ b/src/backend/cdb/cdbappendonlystorageformat.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbappendonlystorageformat.c
*
- * Copyright (c) 2007-2009, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbappendonlystorageread.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbappendonlystorageread.c b/src/backend/cdb/cdbappendonlystorageread.c
old mode 100755
new mode 100644
index 2865f52..edd7696
--- a/src/backend/cdb/cdbappendonlystorageread.c
+++ b/src/backend/cdb/cdbappendonlystorageread.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbappendonlystorageread.c
*
- * Copyright (c) 2007-2009, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbappendonlystoragewrite.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbappendonlystoragewrite.c b/src/backend/cdb/cdbappendonlystoragewrite.c
old mode 100755
new mode 100644
index d175d77..12019e1
--- a/src/backend/cdb/cdbappendonlystoragewrite.c
+++ b/src/backend/cdb/cdbappendonlystoragewrite.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbappendonlystoragewrite.c
*
- * Copyright (c) 2007-2009, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbbackup.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbbackup.c b/src/backend/cdb/cdbbackup.c
index 3f572e3..9c410de 100644
--- a/src/backend/cdb/cdbbackup.c
+++ b/src/backend/cdb/cdbbackup.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbbackup.c
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbbufferedappend.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbbufferedappend.c b/src/backend/cdb/cdbbufferedappend.c
index 429a07e..1a575ed 100644
--- a/src/backend/cdb/cdbbufferedappend.c
+++ b/src/backend/cdb/cdbbufferedappend.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbbufferedappend.c
@@ -5,8 +24,6 @@
*
* (See .h file for usage comments)
*
- * Copyright (c) 2007, greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "cdb/cdbbufferedappend.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbbufferedread.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbbufferedread.c b/src/backend/cdb/cdbbufferedread.c
index 30dde37..f1915d8 100644
--- a/src/backend/cdb/cdbbufferedread.c
+++ b/src/backend/cdb/cdbbufferedread.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbbufferedread.c
@@ -5,8 +24,6 @@
*
* (See .h file for usage comments)
*
- * Copyright (c) 2007, greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "cdb/cdbbufferedread.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbcat.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbcat.c b/src/backend/cdb/cdbcat.c
index 56fe665..138c530 100644
--- a/src/backend/cdb/cdbcat.c
+++ b/src/backend/cdb/cdbcat.c
@@ -1,10 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbcat.c
* Provides routines for reading info from mpp schema tables
*
- * Copyright (c) 2005-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbcellbuf.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbcellbuf.c b/src/backend/cdb/cdbcellbuf.c
index fe44707..24aefa8 100644
--- a/src/backend/cdb/cdbcellbuf.c
+++ b/src/backend/cdb/cdbcellbuf.c
@@ -1,10 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbcellbuf.c
* a container for small items of constant size
*
- * Copyright (c) 2007-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbchunkpool.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbchunkpool.c b/src/backend/cdb/cdbchunkpool.c
index 6203d87..0bb304c 100644
--- a/src/backend/cdb/cdbchunkpool.c
+++ b/src/backend/cdb/cdbchunkpool.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbchunkpool.c
@@ -5,8 +24,6 @@
* Allocates chunks of a fixed size from an underlying AsetDirectContext,
* and keeps a freelist for recycling them.
*
- * Copyright (c) 2007-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbconn.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbconn.c b/src/backend/cdb/cdbconn.c
index fe7034c..81b671b 100644
--- a/src/backend/cdb/cdbconn.c
+++ b/src/backend/cdb/cdbconn.c
@@ -1,11 +1,28 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbconn.c
*
* SegmentDatabaseDescriptor methods
*
- * Copyright (c) 2005-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbcopy.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbcopy.c b/src/backend/cdb/cdbcopy.c
index 8692e7b..a870d91 100644
--- a/src/backend/cdb/cdbcopy.c
+++ b/src/backend/cdb/cdbcopy.c
@@ -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.
+ */
+
/*--------------------------------------------------------------------------
*
* cdbcopy.c
@@ -5,8 +24,6 @@
* routines are called from the backend COPY command whenever MPP is in the
* default dispatch mode.
*
-* Copyright (c) 2005-2008, Greenplum inc
-*
*--------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbdatabaseinfo.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdatabaseinfo.c b/src/backend/cdb/cdbdatabaseinfo.c
old mode 100755
new mode 100644
index 45ecab0..31d892d
--- a/src/backend/cdb/cdbdatabaseinfo.c
+++ b/src/backend/cdb/cdbdatabaseinfo.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbdatabaseinfo.c
*
- * Copyright (c) 2009-2010, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "c.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbdatalocality.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdatalocality.c b/src/backend/cdb/cdbdatalocality.c
index c9b6fd2..ae21324 100644
--- a/src/backend/cdb/cdbdatalocality.c
+++ b/src/backend/cdb/cdbdatalocality.c
@@ -1,10 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbdatalocality.c
* Manages data locality.
*
- * Copyright (c) 2014, Pivotal Inc.
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbdirectopen.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdirectopen.c b/src/backend/cdb/cdbdirectopen.c
old mode 100755
new mode 100644
index 6670a10..3af143a
--- a/src/backend/cdb/cdbdirectopen.c
+++ b/src/backend/cdb/cdbdirectopen.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbdirectopen.c
*
- * Copyright (c) 2009-2010, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbdisp.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdisp.c b/src/backend/cdb/cdbdisp.c
index 3248d55..e7e0607 100644
--- a/src/backend/cdb/cdbdisp.c
+++ b/src/backend/cdb/cdbdisp.c
@@ -1,11 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbdisp.c
* Functions to dispatch commands to QExecutors.
*
- *
- * Copyright (c) 2005-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbdispatchedtablespaceinfo.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdispatchedtablespaceinfo.c b/src/backend/cdb/cdbdispatchedtablespaceinfo.c
index 029ea61..b3ffef0 100644
--- a/src/backend/cdb/cdbdispatchedtablespaceinfo.c
+++ b/src/backend/cdb/cdbdispatchedtablespaceinfo.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbdispatchedtablespaceinfo.c
*
- * Copyright (c) 2009-2012, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbdispatchresult.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdispatchresult.c b/src/backend/cdb/cdbdispatchresult.c
index 88d65b0..b036b26 100644
--- a/src/backend/cdb/cdbdispatchresult.c
+++ b/src/backend/cdb/cdbdispatchresult.c
@@ -1,11 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbdispatchresult.c
* Functions to dispatch commands to QExecutors
*
- *
- * Copyright (c) 2005-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbdistributedxacts.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdistributedxacts.c b/src/backend/cdb/cdbdistributedxacts.c
index f1b08c9..3d3ed35 100644
--- a/src/backend/cdb/cdbdistributedxacts.c
+++ b/src/backend/cdb/cdbdistributedxacts.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbdistributedxacts.c
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbdistributedxid.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdistributedxid.c b/src/backend/cdb/cdbdistributedxid.c
index 01787c8..85e8638 100644
--- a/src/backend/cdb/cdbdistributedxid.c
+++ b/src/backend/cdb/cdbdistributedxid.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbdistributedxid.c
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbdistributedxidmap.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdistributedxidmap.c b/src/backend/cdb/cdbdistributedxidmap.c
index c9ee15e..10a43c6 100644
--- a/src/backend/cdb/cdbdistributedxidmap.c
+++ b/src/backend/cdb/cdbdistributedxidmap.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbdistributedxidmap.c
@@ -15,8 +34,6 @@
* currently-active pages of DistributedXidMap and create an initial first page
* of zeroes.
*
- * Copyright (c) 2007-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbdoublylinked.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdoublylinked.c b/src/backend/cdb/cdbdoublylinked.c
old mode 100755
new mode 100644
index ea8738f..f793c25
--- a/src/backend/cdb/cdbdoublylinked.c
+++ b/src/backend/cdb/cdbdoublylinked.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbdoublylinked.c
*
- * Copyright (c) 2009-2010, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbexplain.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbexplain.c b/src/backend/cdb/cdbexplain.c
index 441a286..43d2b32 100644
--- a/src/backend/cdb/cdbexplain.c
+++ b/src/backend/cdb/cdbexplain.c
@@ -1,10 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbexplain.c
* Functions supporting the Greenplum EXPLAIN ANALYZE command
*
- * Copyright (c) 2006-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbfilerep.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbfilerep.c b/src/backend/cdb/cdbfilerep.c
index 6fefce2..68258a8 100644
--- a/src/backend/cdb/cdbfilerep.c
+++ b/src/backend/cdb/cdbfilerep.c
@@ -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.
+ */
+
#include "cdb/cdbfilerep.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbfilesplit.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbfilesplit.c b/src/backend/cdb/cdbfilesplit.c
index 16a8308..78beaaa 100644
--- a/src/backend/cdb/cdbfilesplit.c
+++ b/src/backend/cdb/cdbfilesplit.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* filesplit.c
* routines for file split.
*
-* Portions Copyright (c) 2014, Pivotal Inc.
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbfilesystemcredential.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbfilesystemcredential.c b/src/backend/cdb/cdbfilesystemcredential.c
index 9d3035f..4e516d0 100644
--- a/src/backend/cdb/cdbfilesystemcredential.c
+++ b/src/backend/cdb/cdbfilesystemcredential.c
@@ -1,10 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbfilesystemcredential.c
* manage local credential and file system credential
*
- * Copyright (c) 2003-2013, Pivotal inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbfts.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbfts.c b/src/backend/cdb/cdbfts.c
index 6c441fd..53d6509 100644
--- a/src/backend/cdb/cdbfts.c
+++ b/src/backend/cdb/cdbfts.c
@@ -1,10 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbfts.c
* Provides fault tolerance service routines for mpp.
*
- * Copyright (c) 2003-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbgang.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbgang.c b/src/backend/cdb/cdbgang.c
index 98c5aec..4a9d7ab 100644
--- a/src/backend/cdb/cdbgang.c
+++ b/src/backend/cdb/cdbgang.c
@@ -1,10 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbgang.c
* Query Executor Factory for gangs of QEs
*
- * Copyright (c) 2005-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbglobalsequence.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbglobalsequence.c b/src/backend/cdb/cdbglobalsequence.c
old mode 100755
new mode 100644
index c7676a8..054e53a
--- a/src/backend/cdb/cdbglobalsequence.c
+++ b/src/backend/cdb/cdbglobalsequence.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbglobalsequence.c
*
- * Copyright (c) 2009-2010, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbgroup.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbgroup.c b/src/backend/cdb/cdbgroup.c
index de6e807..09b3da8 100644
--- a/src/backend/cdb/cdbgroup.c
+++ b/src/backend/cdb/cdbgroup.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbgroup.c
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbhash.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbhash.c b/src/backend/cdb/cdbhash.c
index cd581e9..f2bd6a7 100644
--- a/src/backend/cdb/cdbhash.c
+++ b/src/backend/cdb/cdbhash.c
@@ -1,10 +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.
+ */
+
/*--------------------------------------------------------------------------
*
* cdbhash.c
* Provides hashing routines to support consistant data distribution/location within Greenplum Database.
*
- * Copyright (c) 2005-2008, Greenplum inc
- *
*--------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbheap.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbheap.c b/src/backend/cdb/cdbheap.c
index 56fdc6c..f112dbd 100644
--- a/src/backend/cdb/cdbheap.c
+++ b/src/backend/cdb/cdbheap.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbheap.c
@@ -5,8 +24,6 @@
* Generic heap functions, that can be used with any
* data structure and comparator function
*
- * Copyright (c) 2005-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbinmemheapam.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbinmemheapam.c b/src/backend/cdb/cdbinmemheapam.c
index 096bad8..7f15790 100644
--- a/src/backend/cdb/cdbinmemheapam.c
+++ b/src/backend/cdb/cdbinmemheapam.c
@@ -1,10 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbinmemheapam.c
* goh in-memory heap table access method
*
- * Copyright (c) 2007-2013, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdblink.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdblink.c b/src/backend/cdb/cdblink.c
index 227db2b..fb7d2f0 100644
--- a/src/backend/cdb/cdblink.c
+++ b/src/backend/cdb/cdblink.c
@@ -1,11 +1,28 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdblink.c
*
* Setting up libpq connections to qRxecs from Dispatcher
*
- * Copyright (c) 2005-2008, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#define PROVIDE_64BIT_CRC
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbllize.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbllize.c b/src/backend/cdb/cdbllize.c
index 3a3e1f2..393e6bb 100644
--- a/src/backend/cdb/cdbllize.c
+++ b/src/backend/cdb/cdbllize.c
@@ -1,12 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbllize.c
* Parallelize a PostgreSQL sequential plan tree.
*
- * Copyright (c) 2005-2008, Greenplum inc
- *
- * NOTES
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdblogsync.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdblogsync.c b/src/backend/cdb/cdblogsync.c
index ecb10e7..c2c6a0a 100644
--- a/src/backend/cdb/cdblogsync.c
+++ b/src/backend/cdb/cdblogsync.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
* cdbtmtest.c
*-------------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbmaxdistributedxid.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbmaxdistributedxid.c b/src/backend/cdb/cdbmaxdistributedxid.c
index f008b14..49b450b 100644
--- a/src/backend/cdb/cdbmaxdistributedxid.c
+++ b/src/backend/cdb/cdbmaxdistributedxid.c
@@ -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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbmaxdistributedxid.c
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbmetadatacache.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbmetadatacache.c b/src/backend/cdb/cdbmetadatacache.c
index e40b56b..72be266 100644
--- a/src/backend/cdb/cdbmetadatacache.c
+++ b/src/backend/cdb/cdbmetadatacache.c
@@ -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.
+ */
+
#include <unistd.h>
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbmetadatacache_process.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbmetadatacache_process.c b/src/backend/cdb/cdbmetadatacache_process.c
index 40b654e..df4bbac 100644
--- a/src/backend/cdb/cdbmetadatacache_process.c
+++ b/src/backend/cdb/cdbmetadatacache_process.c
@@ -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.
+ */
+
#include <unistd.h>
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbmetadatacache_test.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbmetadatacache_test.c b/src/backend/cdb/cdbmetadatacache_test.c
index 4563149..20527cd 100644
--- a/src/backend/cdb/cdbmetadatacache_test.c
+++ b/src/backend/cdb/cdbmetadatacache_test.c
@@ -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.
+ */
+
#include <unistd.h>
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbmirroredappendonly.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbmirroredappendonly.c b/src/backend/cdb/cdbmirroredappendonly.c
old mode 100755
new mode 100644
index fae5624..b0c3c76
--- a/src/backend/cdb/cdbmirroredappendonly.c
+++ b/src/backend/cdb/cdbmirroredappendonly.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbmirroredappendonly.c
*
- * Copyright (c) 2009-2010, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbmirroredbufferpool.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbmirroredbufferpool.c b/src/backend/cdb/cdbmirroredbufferpool.c
old mode 100755
new mode 100644
index fb6fca4..94f8a33
--- a/src/backend/cdb/cdbmirroredbufferpool.c
+++ b/src/backend/cdb/cdbmirroredbufferpool.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbmirroredbufferpool.c
*
- * Copyright (c) 2009-2010, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbmirroredfilesysobj.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbmirroredfilesysobj.c b/src/backend/cdb/cdbmirroredfilesysobj.c
old mode 100755
new mode 100644
index ca389bc..218e7c0
--- a/src/backend/cdb/cdbmirroredfilesysobj.c
+++ b/src/backend/cdb/cdbmirroredfilesysobj.c
@@ -1,10 +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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbmirroredfilesysobj.c
* Create and drop mirrored files and directories.
*
- * Copyright (c) 2009-2010, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/cdbmirroredflatfile.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbmirroredflatfile.c b/src/backend/cdb/cdbmirroredflatfile.c
old mode 100755
new mode 100644
index 44185da..ade15ca
--- a/src/backend/cdb/cdbmirroredflatfile.c
+++ b/src/backend/cdb/cdbmirroredflatfile.c
@@ -1,9 +1,26 @@
+/*
+ * 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.
+ */
+
/*-------------------------------------------------------------------------
*
* cdbmirroredflatfile.c
*
- * Copyright (c) 2009-2010, Greenplum inc
- *
*-------------------------------------------------------------------------
*/
#include "postgres.h"