hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject [2/3] incubator-hawq git commit: Updating source file licensing and copyright notices (closes #220)
Date Tue, 29 Dec 2015 07:02:23 GMT
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/access/hd_work_mgr.h
----------------------------------------------------------------------
diff --git a/src/include/access/hd_work_mgr.h b/src/include/access/hd_work_mgr.h
index 9280df5..0153d8c 100644
--- a/src/include/access/hd_work_mgr.h
+++ b/src/include/access/hd_work_mgr.h
@@ -4,7 +4,22 @@
 *	  distributes hadoop data fragments (e.g. hdfs file splits or hbase table regions)
 *	  for processing between GP segments
 *
-* Copyright (c) 2007-2008, Greenplum inc
+* 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.
 *
 *-------------------------------------------------------------------------
 */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/access/memtup.h
----------------------------------------------------------------------
diff --git a/src/include/access/memtup.h b/src/include/access/memtup.h
index b359356..a83198b 100644
--- a/src/include/access/memtup.h
+++ b/src/include/access/memtup.h
@@ -1,7 +1,22 @@
 /* 
  * In Memory Tuple format
  *
- * Copyright (c) 2008, Greenplum inc
+ * 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.
  *
  */
 #ifndef MEM_TUP_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/access/persistentendxactrec.h
----------------------------------------------------------------------
diff --git a/src/include/access/persistentendxactrec.h b/src/include/access/persistentendxactrec.h
index 1f383c3..d8c29ca 100755
--- a/src/include/access/persistentendxactrec.h
+++ b/src/include/access/persistentendxactrec.h
@@ -3,7 +3,22 @@
  * persistentendxactrec.h
  *	  Make and read persistent information in commit, abort, and prepared records.
  *
- * Copyright (c) 2009-2010, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/access/persistentfilesysobjname.h
----------------------------------------------------------------------
diff --git a/src/include/access/persistentfilesysobjname.h b/src/include/access/persistentfilesysobjname.h
index d4f20cd..aee29c6 100755
--- a/src/include/access/persistentfilesysobjname.h
+++ b/src/include/access/persistentfilesysobjname.h
@@ -2,7 +2,22 @@
  *
  * persistentfilesysobjname.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/access/pxffilters.h
----------------------------------------------------------------------
diff --git a/src/include/access/pxffilters.h b/src/include/access/pxffilters.h
index 1a20986..358cd8b 100644
--- a/src/include/access/pxffilters.h
+++ b/src/include/access/pxffilters.h
@@ -3,7 +3,23 @@
  *
  * Header for handling push down of supported scan level filters to PXF.
  * 
- * Copyright (c) 2012, Greenplum inc
+ * 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.
+ *
  */
 #ifndef _PXF_FILTERS_H_
 #define _PXF_FILTERS_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/access/pxfmasterapi.h
----------------------------------------------------------------------
diff --git a/src/include/access/pxfmasterapi.h b/src/include/access/pxfmasterapi.h
index 020351c..a746a4d 100644
--- a/src/include/access/pxfmasterapi.h
+++ b/src/include/access/pxfmasterapi.h
@@ -4,7 +4,22 @@
 *	  Functions for getting info from the PXF master.
 *	  Used by hd_work_mgr and gpbridgeapi
 *
-* Copyright (c) 2007-2012, Greenplum inc
+* 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.
 *
 *-------------------------------------------------------------------------
 */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/access/url.h
----------------------------------------------------------------------
diff --git a/src/include/access/url.h b/src/include/access/url.h
index 27b8688..d837b68 100644
--- a/src/include/access/url.h
+++ b/src/include/access/url.h
@@ -4,7 +4,22 @@
  * routines for external table access to urls.
  * to the qExec processes.
  *
- * Copyright (c) 2005-2008, Greenplum inc
+ * 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.
  *
  * $Id: //cdb2/main/cdb-pg/src/include/cdb/cdbdisp.h#78 $
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/access/xlogmm.h
----------------------------------------------------------------------
diff --git a/src/include/access/xlogmm.h b/src/include/access/xlogmm.h
index 1d4b9c5..4781900 100644
--- a/src/include/access/xlogmm.h
+++ b/src/include/access/xlogmm.h
@@ -1,7 +1,23 @@
 /*
  * prototypes for master mirror synchronisation write ahead logging.
  *
- * Copyright Greenplum, 2010.
+ * 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.
+ *
  */
 #ifndef MMXLOG_H
 #define MMXLOG_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/calico.pl
----------------------------------------------------------------------
diff --git a/src/include/catalog/calico.pl b/src/include/catalog/calico.pl
index a929d2b..61bc137 100755
--- a/src/include/catalog/calico.pl
+++ b/src/include/catalog/calico.pl
@@ -1,9 +1,23 @@
 #!/usr/bin/perl
 #
-# $Header: //gpsql/feature/hd2.0/private-lili/src/include/catalog/calico.pl#2 $
+# 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
 #
-# copyright (c) 2011, 2012, 2013
-# Author: Jeffrey I Cohen
+# 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.
+#
+# $Header: //gpsql/feature/hd2.0/private-lili/src/include/catalog/calico.pl#2 $
 #
 # SLZY_HDR_END
 
@@ -175,11 +189,9 @@ Need to restructure the catalog to eliminate bloat.
 
 =head1 AUTHORS
 
-Jeffrey I Cohen
-
-Copyright (c) 2011, 2012, 2013 Greenplum.  All rights reserved.  
+Apache HAWQ
 
-Address bug reports and comments to: jcohen@greenplum.com
+Address bug reports and comments to: dev@hawq.incubator.apache.org
 
 =cut
 # SLZY_POD_HDR_END
@@ -3425,9 +3437,22 @@ sub more_header
  * catquery.c
  *	  general catalog table access methods (internal api)
  *
- * Copyright (c) 2011,2012,2013 Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/caqltrack.pl
----------------------------------------------------------------------
diff --git a/src/include/catalog/caqltrack.pl b/src/include/catalog/caqltrack.pl
index cb27527..a2cc736 100755
--- a/src/include/catalog/caqltrack.pl
+++ b/src/include/catalog/caqltrack.pl
@@ -1,9 +1,21 @@
 #!/usr/bin/perl
 #
-# $Header$
+# 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
 #
-# copyright (c) 2012
-# Author: Jeffrey Cohen
+#   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.
 #
 # SLZY_HDR_END
 
@@ -132,11 +144,9 @@ total unique query counts:
 
 =head1 AUTHORS
 
-Jeffrey I Cohen
-
-Copyright (c) 2012 Greenplum.  All rights reserved.  
+Apache HAWQ
 
-Address bug reports and comments to: jcohen@greenplum.com
+Address bug reports and comments to: dev@hawq.incubator.apache.org
 
 =cut
 # SLZY_POD_HDR_END

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/caqluniqdef.pl
----------------------------------------------------------------------
diff --git a/src/include/catalog/caqluniqdef.pl b/src/include/catalog/caqluniqdef.pl
index 89cd1f5..e003e43 100755
--- a/src/include/catalog/caqluniqdef.pl
+++ b/src/include/catalog/caqluniqdef.pl
@@ -1,9 +1,21 @@
 #!/usr/bin/perl
 #
-# $Header$
+# 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
 #
-# copyright (c) 2012
-# Author: Jeff Cohen
+#   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.
 #
 # SLZY_HDR_END
 
@@ -81,11 +93,9 @@ delimited flat file, suitable for input as an external table.
 
 =head1 AUTHORS
 
-Jeffrey I Cohen
-
-Copyright (c) 2012 Greenplum.  All rights reserved.  
+Apache HAWQ
 
-Address bug reports and comments to: jcohen@greenplum.com
+Address bug reports and comments to: dev@hawq.incubator.apache.org
 
 =cut
 # SLZY_POD_HDR_END

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/catullus.pl
----------------------------------------------------------------------
diff --git a/src/include/catalog/catullus.pl b/src/include/catalog/catullus.pl
index 85b9219..5b296ef 100755
--- a/src/include/catalog/catullus.pl
+++ b/src/include/catalog/catullus.pl
@@ -1,9 +1,21 @@
 #!/usr/bin/perl
 #
-# $Header$
+# 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
 #
-# copyright (c) 2011
-# Author: Jeffrey I Cohen
+#   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.
 #
 # SLZY_HDR_END
 use POSIX;
@@ -101,11 +113,9 @@ pg_window.  And operators and operator classes?  Access methods? Casts?
 
 =head1 AUTHORS
 
-Jeffrey I Cohen
-
-Copyright (c) 2011 Greenplum.  All rights reserved.  
+Apache HAWQ
 
-Address bug reports and comments to: jcohen@greenplum.com
+Address bug reports and comments to: dev@hawq.incubator.apache.org
 
 =cut
 # SLZY_POD_HDR_END

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/pablopcatso.pl
----------------------------------------------------------------------
diff --git a/src/include/catalog/pablopcatso.pl b/src/include/catalog/pablopcatso.pl
index 429902c..d6b9a13 100755
--- a/src/include/catalog/pablopcatso.pl
+++ b/src/include/catalog/pablopcatso.pl
@@ -1,10 +1,21 @@
 #!/usr/bin/perl
 #
-# $Header$
+# 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
 #
-# copyright (c) 2011
-# Author: Jeffrey I Cohen
+#   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.
 #
 use POSIX;
 use Pod::Usage;
@@ -122,12 +133,9 @@ pablopcatso generates .dot file output on stdout.
 
 =head1 AUTHORS
 
-Jeffrey I Cohen
-
-Copyright (c) 2011 EMC.  All rights reserved.  
-
-Address bug reports and comments to: jeffrey.cohen@emc.com
+Apache HAWQ
 
+Address bug reports and comments to: dev@hawq.incubator.apache.org
 
 =cut
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/pg_attribute_encoding.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_attribute_encoding.h b/src/include/catalog/pg_attribute_encoding.h
index 859452e..d98239c 100644
--- a/src/include/catalog/pg_attribute_encoding.h
+++ b/src/include/catalog/pg_attribute_encoding.h
@@ -3,7 +3,22 @@
  * pg_attribute_encoding.h
  *	  some where to stash column level ENCODING () clauses
  *
- * Copyright (c) EMC, 2011
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/pg_compression.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_compression.h b/src/include/catalog/pg_compression.h
index 6c92be7..80ef711 100644
--- a/src/include/catalog/pg_compression.h
+++ b/src/include/catalog/pg_compression.h
@@ -5,7 +5,22 @@
  * 		Representation of compression algorithms for user extensibility of
  * 		compression used by the storage layer.
  *
- * Copyright (c) EMC, 2011
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/pg_exttable.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_exttable.h b/src/include/catalog/pg_exttable.h
index 5264f55..3a0fadd 100644
--- a/src/include/catalog/pg_exttable.h
+++ b/src/include/catalog/pg_exttable.h
@@ -3,7 +3,22 @@
 * pg_exttable.h
 *	  definitions for system wide external relations
 *
-* Copyright (c) 2007-2010, Greenplum inc
+* 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.
 *
 *-------------------------------------------------------------------------
 */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/pg_filesystem.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_filesystem.h b/src/include/catalog/pg_filesystem.h
index 571d24a..c0303b1 100644
--- a/src/include/catalog/pg_filesystem.h
+++ b/src/include/catalog/pg_filesystem.h
@@ -3,7 +3,22 @@
  * pg_filesystem.h
  *    an user defined filesystem table
  *
- * Copyright (c) 2011, Greenplum Inc.
+ * 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.
  *
  * $Id: $
  * $Change: $

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/pg_partition_encoding.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_partition_encoding.h b/src/include/catalog/pg_partition_encoding.h
index 5297367..dfa05aa 100644
--- a/src/include/catalog/pg_partition_encoding.h
+++ b/src/include/catalog/pg_partition_encoding.h
@@ -3,7 +3,22 @@
  * pg_partition_encoding.h
  *	  some where to stash ENCODING() clauses for partition templates
  *
- * Copyright (c) EMC, 2011
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/pg_proc_callback.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_proc_callback.h b/src/include/catalog/pg_proc_callback.h
index e8aa2d2..738c3c7 100644
--- a/src/include/catalog/pg_proc_callback.h
+++ b/src/include/catalog/pg_proc_callback.h
@@ -7,7 +7,23 @@
  *   and consists of:
  *     - DESCRIBE() - to support more complex pseudotype resolution
  *
- * Copyright (c) EMC, 2011
+ * 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.
+ *
  *-------------------------------------------------------------------------
  */
 #ifndef PG_PROC_CALLBACK_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/pg_tidycat.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_tidycat.h b/src/include/catalog/pg_tidycat.h
index 1a4daef..9f969c8 100644
--- a/src/include/catalog/pg_tidycat.h
+++ b/src/include/catalog/pg_tidycat.h
@@ -2,7 +2,22 @@
  *
  * pg_tidycat.h
  *	  
- * Copyright (c) 2011, 2012 Greenplum inc.
+ * 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.
  *
  * WARNING: DO NOT MODIFY THIS FILE: 
  *  Generated by tidycat.pl version 34

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/pg_type_encoding.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_type_encoding.h b/src/include/catalog/pg_type_encoding.h
index 7188b2f..63fe3bd 100644
--- a/src/include/catalog/pg_type_encoding.h
+++ b/src/include/catalog/pg_type_encoding.h
@@ -3,7 +3,22 @@
  * pg_type_encoding.h
  *	  some where to stash type ENCODING () clauses
  *
- * Copyright (c) EMC, 2011
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/pg_window.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/pg_window.h b/src/include/catalog/pg_window.h
index b50ac4c..c69bd1a 100644
--- a/src/include/catalog/pg_window.h
+++ b/src/include/catalog/pg_window.h
@@ -5,7 +5,22 @@
  *	  along with the relation's initial contents.
  *
  *
- * Copyright (c) 2007-2010, Greenplum inc
+ * 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.
  *
  * NOTES
  *	  the genbki.sh script reads this file and generates .bki

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/sleazy.pl
----------------------------------------------------------------------
diff --git a/src/include/catalog/sleazy.pl b/src/include/catalog/sleazy.pl
index 10b94b1..ff4c1cc 100644
--- a/src/include/catalog/sleazy.pl
+++ b/src/include/catalog/sleazy.pl
@@ -1,9 +1,21 @@
 #!/usr/bin/perl
 #
-# $Header: $
+# 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
 #
-# copyright (c) 
-# Author: 
+# 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.
 #
 # SLZY_HDR_END
 
@@ -263,11 +275,9 @@ then that value is used.
 
 =head1 AUTHORS
 
-Jeffrey I Cohen
-
-Copyright (c) 2012, 2013 Greenplum.  All rights reserved.  
+Apache HAWQ
 
-Address bug reports and comments to: jcohen@greenplum.com
+Address bug reports and comments to: dev@hawq.incubator.apache.org
 
 =cut
 # SLZY_POD_HDR_END

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/catalog/tidycat.pl
----------------------------------------------------------------------
diff --git a/src/include/catalog/tidycat.pl b/src/include/catalog/tidycat.pl
index d613609..4711b8a 100755
--- a/src/include/catalog/tidycat.pl
+++ b/src/include/catalog/tidycat.pl
@@ -1,9 +1,23 @@
 #!/usr/bin/perl
 #
-# $Header: //gpsql/feature/hd2.0/private-lili/src/include/catalog/tidycat.pl#2 $
+# 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
 #
-# copyright (c) 2009, 2010, 2011
-# Author: Jeffrey I Cohen
+# 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.
+#
+# $Header: //gpsql/feature/hd2.0/private-lili/src/include/catalog/tidycat.pl#2 $
 #
 # SLZY_HDR_END
 
@@ -311,11 +325,9 @@ directory.
 
 =head1 AUTHORS
 
-Jeffrey I Cohen
+Apache HAWQ
 
-Copyright (c) 2009-2012 Greenplum.  All rights reserved.  
-
-Address bug reports and comments to: jcohen@greenplum.com
+Address bug reports and comments to: dev@hawq.incubator.apache.org
 
 =cut
 # SLZY_POD_HDR_END
@@ -2964,7 +2976,22 @@ sub fixup_pg_tidy
  *
  * pg_tidycat.h
  *	  
- * Copyright (c) 2011, 2012 Greenplum inc.
+ * 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.
  *
 GENCOM
  *-------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/commands/analyzeutils.h
----------------------------------------------------------------------
diff --git a/src/include/commands/analyzeutils.h b/src/include/commands/analyzeutils.h
index 59706a3..e4ba774 100644
--- a/src/include/commands/analyzeutils.h
+++ b/src/include/commands/analyzeutils.h
@@ -4,7 +4,22 @@
  *
  *	  Header file for utils functions in analyzeutils.c
  *
- * Copyright (c) 2015, Pivotal Inc.
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/commands/queue.h
----------------------------------------------------------------------
diff --git a/src/include/commands/queue.h b/src/include/commands/queue.h
index 22b1ec0..0189277 100644
--- a/src/include/commands/queue.h
+++ b/src/include/commands/queue.h
@@ -3,7 +3,22 @@
  * queue.h
  *	  Commands for manipulating resource queues.
  *
- * Copyright (c) 2006-2010, Greenplum inc.
+ * 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.
  *
  * $PostgreSQL$
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/optimizer/planshare.h
----------------------------------------------------------------------
diff --git a/src/include/optimizer/planshare.h b/src/include/optimizer/planshare.h
index c9b237a..17b1b1e 100644
--- a/src/include/optimizer/planshare.h
+++ b/src/include/optimizer/planshare.h
@@ -1,7 +1,24 @@
 /* 
  * planshare.h
  * 		Prototypes and data structures for plan sharing
- * Copyright (c) 2007-2008, Greenplum inc
+ *
+ * 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.
+ *
  */
 
 #ifndef _PLANSHARE_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/parser/parse_cte.h
----------------------------------------------------------------------
diff --git a/src/include/parser/parse_cte.h b/src/include/parser/parse_cte.h
index 03ee939..94b94d7 100644
--- a/src/include/parser/parse_cte.h
+++ b/src/include/parser/parse_cte.h
@@ -2,7 +2,23 @@
  * parse_cte.h
  *    Handle WITH clause in parser.
  *
- * Copyright (c) 2011 - present, EMC Greenplum.
+ * 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.
+ *
  */
 #ifndef PARSE_CTE_H
 #define PARSE_CTE_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/parser/tidygram.py
----------------------------------------------------------------------
diff --git a/src/include/parser/tidygram.py b/src/include/parser/tidygram.py
index c2c5d44..f81d440 100755
--- a/src/include/parser/tidygram.py
+++ b/src/include/parser/tidygram.py
@@ -1,6 +1,21 @@
 #!/usr/bin/env python
 #
-# Copyright (c) EMC 2011. All Rights Reserved
+# 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.
 #
 # This is a simple little utility to check that kwlist.h is synchronized with gram.y
 #

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/postmaster/ddaserver.h
----------------------------------------------------------------------
diff --git a/src/include/postmaster/ddaserver.h b/src/include/postmaster/ddaserver.h
index 5ab1d1c..0b7de37 100644
--- a/src/include/postmaster/ddaserver.h
+++ b/src/include/postmaster/ddaserver.h
@@ -6,7 +6,22 @@
  *    communicates with the master ddaserver at the QD when it finds
  *    a lock waiter.
  *
- * Copyright (c) 2007-2008, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/postmaster/identity.h
----------------------------------------------------------------------
diff --git a/src/include/postmaster/identity.h b/src/include/postmaster/identity.h
index 46de895..7eeabf9 100644
--- a/src/include/postmaster/identity.h
+++ b/src/include/postmaster/identity.h
@@ -3,7 +3,22 @@
  * identity.h
  *	  Segment identity.
  *
- * Copyright (c) 2014-2014, Pivotal inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/postmaster/perfmon.h
----------------------------------------------------------------------
diff --git a/src/include/postmaster/perfmon.h b/src/include/postmaster/perfmon.h
index ee3d50e..b781d3c 100644
--- a/src/include/postmaster/perfmon.h
+++ b/src/include/postmaster/perfmon.h
@@ -2,7 +2,22 @@
  *
  * perfmon.h
  *
- * Copyright (c) 2005-2009, Greenplum inc
+ * 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.
  *
  * $Id: //cdb2/private/cpedrotti/main/src/include/postmaster/permfon.h#1 $
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/postmaster/perfmon_segmentinfo.h
----------------------------------------------------------------------
diff --git a/src/include/postmaster/perfmon_segmentinfo.h b/src/include/postmaster/perfmon_segmentinfo.h
index ba8609e..6be9a6c 100644
--- a/src/include/postmaster/perfmon_segmentinfo.h
+++ b/src/include/postmaster/perfmon_segmentinfo.h
@@ -7,7 +7,22 @@
  * to start the segment info sender process.
  *
  *
- * Copyright (c) 2010, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/postmaster/primary_mirror_mode.h
----------------------------------------------------------------------
diff --git a/src/include/postmaster/primary_mirror_mode.h b/src/include/postmaster/primary_mirror_mode.h
index db6edb5..ba8a1eb 100644
--- a/src/include/postmaster/primary_mirror_mode.h
+++ b/src/include/postmaster/primary_mirror_mode.h
@@ -3,7 +3,22 @@
  * primary_mirror_mode.h
  *	  Exports from primary_mirror_mode.c.
  *
- * Copyright (c) 2006-2009, Greenplum inc
+ * 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.
  *
  * $PostgreSQL: pgsql/src/include/postmaster/primary_mirror_mode.h,v 1.20 2009/05/05 19:59:00 tgl Exp $
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/postmaster/primary_mirror_transition_client.h
----------------------------------------------------------------------
diff --git a/src/include/postmaster/primary_mirror_transition_client.h b/src/include/postmaster/primary_mirror_transition_client.h
index 4358d1c..2e820f9 100644
--- a/src/include/postmaster/primary_mirror_transition_client.h
+++ b/src/include/postmaster/primary_mirror_transition_client.h
@@ -3,7 +3,22 @@
  * primary_mirror_transition_client.h
  *	  Exports from primary_mirror_transition_client.c.
  *
- * Copyright (c) 2010, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/postmaster/seqserver.h
----------------------------------------------------------------------
diff --git a/src/include/postmaster/seqserver.h b/src/include/postmaster/seqserver.h
index 5a20ba4..7a0cf47 100644
--- a/src/include/postmaster/seqserver.h
+++ b/src/include/postmaster/seqserver.h
@@ -5,7 +5,22 @@
  * 		QEs.
  *
  *
- * Copyright (c) 2005-2008, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/postmaster/service.h
----------------------------------------------------------------------
diff --git a/src/include/postmaster/service.h b/src/include/postmaster/service.h
index 9b36088..47eb74c 100644
--- a/src/include/postmaster/service.h
+++ b/src/include/postmaster/service.h
@@ -5,7 +5,22 @@
  *    under the postmaster that communicate with other Postgres processes
  *    with TCP/IP (same GP instance or different GP instance).
  *
- * Copyright (c) 2007-2008, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/postmaster/walredoserver.h
----------------------------------------------------------------------
diff --git a/src/include/postmaster/walredoserver.h b/src/include/postmaster/walredoserver.h
index 499caf4..da65473 100644
--- a/src/include/postmaster/walredoserver.h
+++ b/src/include/postmaster/walredoserver.h
@@ -4,7 +4,22 @@
  *	  Process under QD postmaster that manages redo of the WAL by the standby.
  *
  *
- * Copyright (c) 2007-2008, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/postmaster/walsendserver.h
----------------------------------------------------------------------
diff --git a/src/include/postmaster/walsendserver.h b/src/include/postmaster/walsendserver.h
index 79efaa5..42a4f6d 100644
--- a/src/include/postmaster/walsendserver.h
+++ b/src/include/postmaster/walsendserver.h
@@ -4,7 +4,22 @@
  *	  Process under QD postmaster that manages sending WAL to the standby.
  *
  *
- * Copyright (c) 2007-2008, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/storage/dbdirnode.h
----------------------------------------------------------------------
diff --git a/src/include/storage/dbdirnode.h b/src/include/storage/dbdirnode.h
index 59526d0..fbd2381 100755
--- a/src/include/storage/dbdirnode.h
+++ b/src/include/storage/dbdirnode.h
@@ -3,7 +3,22 @@
  * dbdirnode.h
  *	  Physical access information for database directories.
  *
- * Copyright (c) 2009-2010, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/storage/tablespacedirnode.h
----------------------------------------------------------------------
diff --git a/src/include/storage/tablespacedirnode.h b/src/include/storage/tablespacedirnode.h
index fccc44f..acc5fa2 100755
--- a/src/include/storage/tablespacedirnode.h
+++ b/src/include/storage/tablespacedirnode.h
@@ -3,7 +3,22 @@
  * tablespacedirnode.h
  *	  Physical access information for tablespace directories.
  *
- * Copyright (c) 2009-2010, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/tablefuncapi.h
----------------------------------------------------------------------
diff --git a/src/include/tablefuncapi.h b/src/include/tablefuncapi.h
index 1530102..bb316ae 100644
--- a/src/include/tablefuncapi.h
+++ b/src/include/tablefuncapi.h
@@ -3,7 +3,23 @@
  * tablefuncapi.h
  *	  Declarations for Table Function API
  *
- * Copyright (c) 2011, EMC corporation
+ * 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.
+ *
  *-------------------------------------------------------------------------
  */
 #ifndef TABLEFUNCAPI_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/atomic.h
----------------------------------------------------------------------
diff --git a/src/include/utils/atomic.h b/src/include/utils/atomic.h
index 0ec292f..5b19152 100644
--- a/src/include/utils/atomic.h
+++ b/src/include/utils/atomic.h
@@ -2,7 +2,23 @@
  * atomic.h
  *    Header file for atomic operations.
  *
- * Copyright (c) 2011 - present, EMC DCD (Greenplum).
+ * 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.
+ *
  */
 extern int32 compare_and_swap_32(uint32 *dest, uint32 old, uint32 new);
 extern int32 compare_and_swap_64(uint64 *dest, uint64 old, uint64 new);

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/datumstreamblock.h
----------------------------------------------------------------------
diff --git a/src/include/utils/datumstreamblock.h b/src/include/utils/datumstreamblock.h
index 28bf109..4b2f627 100755
--- a/src/include/utils/datumstreamblock.h
+++ b/src/include/utils/datumstreamblock.h
@@ -1,6 +1,23 @@
 /*
  * DatumStreamBlock
- * 	Copyright (c) 201, EMC Inc.
+ *
+ * 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.
+ *
  */
 
 #ifndef DATUMSTREAMBLOCK_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/debugbreak.h
----------------------------------------------------------------------
diff --git a/src/include/utils/debugbreak.h b/src/include/utils/debugbreak.h
index e844311..51728c2 100644
--- a/src/include/utils/debugbreak.h
+++ b/src/include/utils/debugbreak.h
@@ -1,7 +1,24 @@
 /*
  * debugbreak.h
  * 		Debugging facilities
- * Copyright (c) 2007-2008, Greenplum inc
+ *
+ * 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.
+ *
  */
 
 #ifndef _DEBUG_BREAK_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/debugutils.h
----------------------------------------------------------------------
diff --git a/src/include/utils/debugutils.h b/src/include/utils/debugutils.h
index c113861..9f2431b 100644
--- a/src/include/utils/debugutils.h
+++ b/src/include/utils/debugutils.h
@@ -3,7 +3,23 @@
  * 
  * Debugging tools and routines
  * 
- * Copyright (c) 2007-2008, Greenplum inc
+ * 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.
+ *
  */
 
 #ifndef _DEBUGUTILS_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/faultinjector.h
----------------------------------------------------------------------
diff --git a/src/include/utils/faultinjector.h b/src/include/utils/faultinjector.h
index b0f7b89..f197d2e 100644
--- a/src/include/utils/faultinjector.h
+++ b/src/include/utils/faultinjector.h
@@ -2,7 +2,22 @@
  *  faultinjector.h
  *  
  *
- *  Copyright 2009-2010, Greenplum Inc. All rights reserved.
+ * 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.
  *
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/netcheck.h
----------------------------------------------------------------------
diff --git a/src/include/utils/netcheck.h b/src/include/utils/netcheck.h
index 748657d..44f8e97 100644
--- a/src/include/utils/netcheck.h
+++ b/src/include/utils/netcheck.h
@@ -3,7 +3,22 @@
  * netcheck.h
  *	  Interface for network checking utilities.
  *
- * Copyright (c) 2011, EMC Corp.
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/sharedcache.h
----------------------------------------------------------------------
diff --git a/src/include/utils/sharedcache.h b/src/include/utils/sharedcache.h
index 43d5017..d4c8e3f 100644
--- a/src/include/utils/sharedcache.h
+++ b/src/include/utils/sharedcache.h
@@ -3,9 +3,22 @@
  * sharedcache.h
  *	  Interface for a generic shared cache.
  *
+ * 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
  *
- * Copyright (c) 2012, EMC Corp.
+ *   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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/simex.h
----------------------------------------------------------------------
diff --git a/src/include/utils/simex.h b/src/include/utils/simex.h
index c7d4c09..7af8170 100644
--- a/src/include/utils/simex.h
+++ b/src/include/utils/simex.h
@@ -2,7 +2,23 @@
  * simex.h
  *		Interface for simulating Exceptional Situations (ES).
  *
- * Copyright (c) 2010, Greenplum inc
+ * 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.
+ *
  */
 
 /*

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/syncbitvector.h
----------------------------------------------------------------------
diff --git a/src/include/utils/syncbitvector.h b/src/include/utils/syncbitvector.h
index c0ddeac..2b57235 100644
--- a/src/include/utils/syncbitvector.h
+++ b/src/include/utils/syncbitvector.h
@@ -2,7 +2,23 @@
  * syncbitvector.h
  *		Interface for synchronized bit vectors.
  *
- * Copyright (c) 2010, Greenplum inc
+ * 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.
+ *
  */
 
 #ifndef SYNCBITVECTOR_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/syncrefhashtable.h
----------------------------------------------------------------------
diff --git a/src/include/utils/syncrefhashtable.h b/src/include/utils/syncrefhashtable.h
index ebdc3a3..61ccfbe 100644
--- a/src/include/utils/syncrefhashtable.h
+++ b/src/include/utils/syncrefhashtable.h
@@ -3,9 +3,22 @@
  * syncrefhashtable.h
  *	  Interface for a synchronized, refcounted hashtable.
  *
+ * 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
  *
- * Copyright (c) 2012, EMC Corp.
+ *   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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/testutils.h
----------------------------------------------------------------------
diff --git a/src/include/utils/testutils.h b/src/include/utils/testutils.h
index 318b8d4..c7a615a 100644
--- a/src/include/utils/testutils.h
+++ b/src/include/utils/testutils.h
@@ -2,7 +2,23 @@
  * testutils.h
  *		Collection of testing utilities.
  *
- * Copyright (c) 2010, Greenplum inc
+ * 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.
+ *
  */
 
 #ifndef TESTUTILS_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/include/utils/uri.h
----------------------------------------------------------------------
diff --git a/src/include/utils/uri.h b/src/include/utils/uri.h
index 305463c..a37d9e7 100644
--- a/src/include/utils/uri.h
+++ b/src/include/utils/uri.h
@@ -3,7 +3,22 @@
 * uri.h
 *	  Definitions for URI strings
 *
-* Copyright (c) 2007-2008, Greenplum inc
+* 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.
 *
 *-------------------------------------------------------------------------
 */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/pl/pljava/src/java/pljava/org/postgresql/pljava/sqlj/JarLoader.java
----------------------------------------------------------------------
diff --git a/src/pl/pljava/src/java/pljava/org/postgresql/pljava/sqlj/JarLoader.java b/src/pl/pljava/src/java/pljava/org/postgresql/pljava/sqlj/JarLoader.java
index d1e78ab..a9a498b 100644
--- a/src/pl/pljava/src/java/pljava/org/postgresql/pljava/sqlj/JarLoader.java
+++ b/src/pl/pljava/src/java/pljava/org/postgresql/pljava/sqlj/JarLoader.java
@@ -1,5 +1,20 @@
 /*
- * Copyright (c) 2009 - Greenplum 
+ * 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.
  */
 package org.postgresql.pljava.sqlj;
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/pl/pljava/src/sql/pljava_install.sh
----------------------------------------------------------------------
diff --git a/src/pl/pljava/src/sql/pljava_install.sh b/src/pl/pljava/src/sql/pljava_install.sh
index 275981b..593928f 100755
--- a/src/pl/pljava/src/sql/pljava_install.sh
+++ b/src/pl/pljava/src/sql/pljava_install.sh
@@ -1,6 +1,21 @@
 #!/bin/sh
 #
-# Copyright (c) Greenplum Inc 2013. All Rights Reserved.
+# 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.
 #
 # Disclaimer: There is a lot of common code among pgcrypto_install.sh,
 # plr_install.sh and pljava_install.sh.  These scripts must be

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/test/libcdbtest/cdbtest.h
----------------------------------------------------------------------
diff --git a/src/test/libcdbtest/cdbtest.h b/src/test/libcdbtest/cdbtest.h
index 217f9be..21bafe4 100644
--- a/src/test/libcdbtest/cdbtest.h
+++ b/src/test/libcdbtest/cdbtest.h
@@ -2,7 +2,23 @@
  * cdbtest.h
  *     Declarations of functions in the cdbtest library.
  *
- * Copyright (c) 2005-2008, Greenplum inc
+ * 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.
+ *
  *-------------------------------------------------------------------------
  */
 #ifndef CDBTEST_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/test/libcdbtest/chunkfuncs.c
----------------------------------------------------------------------
diff --git a/src/test/libcdbtest/chunkfuncs.c b/src/test/libcdbtest/chunkfuncs.c
index 070de28..244faca 100644
--- a/src/test/libcdbtest/chunkfuncs.c
+++ b/src/test/libcdbtest/chunkfuncs.c
@@ -4,9 +4,22 @@
  *     Test functions for tuple chunk API.  These are to be called from SQL
  *     for testing purposes.
  *
- * Copyright (c) 2005-2008, Greenplum inc.  All rights reserved.
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/test/libcdbtest/hashapi_access.c
----------------------------------------------------------------------
diff --git a/src/test/libcdbtest/hashapi_access.c b/src/test/libcdbtest/hashapi_access.c
index d34464b..cbb7ed4 100644
--- a/src/test/libcdbtest/hashapi_access.c
+++ b/src/test/libcdbtest/hashapi_access.c
@@ -3,8 +3,22 @@
 * hashapi_access.c
 *     Test functions for accessing the Cdb Hash API.
 *
-* Copyright (c) 2005-2008, Greenplum inc
+* 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.
 *
 *-------------------------------------------------------------------------
 */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/test/libcdbtest/mlapi_access.c
----------------------------------------------------------------------
diff --git a/src/test/libcdbtest/mlapi_access.c b/src/test/libcdbtest/mlapi_access.c
index df6cda7..f3e03e3 100644
--- a/src/test/libcdbtest/mlapi_access.c
+++ b/src/test/libcdbtest/mlapi_access.c
@@ -3,8 +3,22 @@
  * mlapi_access.c
  *     Test functions for accessing the Motion Layer API.
  *
- * Copyright (c) 2005-2008, Greenplum inc
+ * 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.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/42469999/src/test/libcdbtest/mlipc_access.c
----------------------------------------------------------------------
diff --git a/src/test/libcdbtest/mlipc_access.c b/src/test/libcdbtest/mlipc_access.c
index 68c41fb..69664b3 100644
--- a/src/test/libcdbtest/mlipc_access.c
+++ b/src/test/libcdbtest/mlipc_access.c
@@ -4,9 +4,22 @@
  *     Test functions for Motion Layer IPC API.  These are to be called from SQL
  *     for testing purposes.
  *
- * Copyright (c) 2005-2008, Greenplum inc.  All rights reserved.
+ * 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.
  *
  *-------------------------------------------------------------------------
  */



Mime
View raw message