hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [2/2] incubator-hawq git commit: HAWQ-184. Adjust pom.xml and add license headers
Date Tue, 29 Dec 2015 04:50:55 GMT
HAWQ-184. Adjust pom.xml and add license headers


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/c9fc57a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/c9fc57a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/c9fc57a3

Branch: refs/heads/master
Commit: c9fc57a3a32d7ec9f522ec5936027d6be290e553
Parents: b015b0f
Author: Wen Lin <wlin@pivotal.io>
Authored: Tue Dec 29 12:57:34 2015 +0800
Committer: Wen Lin <wlin@pivotal.io>
Committed: Tue Dec 29 12:57:34 2015 +0800

----------------------------------------------------------------------
 pom.xml                                         | 432 ++-----------------
 src/backend/access/common/test/tupdesc_test.c   |  18 +
 src/backend/access/external/url.i               |  17 +-
 src/backend/access/transam/gp_distributed_log.c |  20 +-
 src/backend/access/transam/gp_transaction_log.c |  20 +-
 src/backend/access/transam/test/xact_test.c     |  18 +
 src/backend/catalog/caql/gram.y                 |  18 +
 src/backend/catalog/caql/scan.l                 |  18 +
 src/backend/commands/test/define_test.c         |  18 +
 src/backend/executor/test/execAmi_test.c        |  18 +
 src/backend/executor/test/execHHashagg_test.c   |  18 +
 src/backend/executor/test/execWorkfile_test.c   |  18 +
 .../executor/test/nodeShareInputScan_test.c     |  18 +
 src/backend/executor/test/nodeSubplan_test.c    |  18 +
 src/backend/libpq/test/pqcomm_test.c            |  18 +
 src/backend/nodes/stack.c                       |  18 +
 src/backend/nodes/test/list_test.c              |  18 +
 .../optimizer/plan/test/createplan_test.c       |  18 +
 src/backend/optimizer/plan/transform.c          |  19 +-
 src/backend/optimizer/util/walkers.c            |  18 +
 src/backend/port/dynloader/sco.c                |  18 +
 src/backend/port/dynloader/sunos4.c             |  18 +
 src/backend/port/dynloader/svr4.c               |  18 +
 src/backend/port/dynloader/univel.c             |  18 +
 src/backend/port/dynloader/unixware.c           |  18 +
 .../primary_mirror_transition_client.c          |  18 +
 src/backend/postmaster/sendalert_common.h       |  18 +
 src/backend/storage/file/pipe.c                 |  18 +
 src/backend/tcop/test/postgres_test.c           |  18 +
 src/backend/utils/adt/matrix.c                  |  18 +
 src/backend/utils/adt/pivot.c                   |  18 +
 src/backend/utils/cache/test/inval_test.c       |  18 +
 src/backend/utils/hash/crc32c.c                 |  18 +
 .../utils/resscheduler/test/memquota_test.c     |  18 +
 src/backend/utils/sort/logtape.c                |  18 +
 .../utils/sort/test/string_wrapper_test.c       |  18 +
 src/backend/utils/sort/tuplestorenew.c          |  18 +
 src/backend/utils/test/session_state_test.c     |  18 +
 src/include/access/aosegfiles.h                 |  19 +-
 src/include/access/ha_config.h                  |  18 +
 src/include/access/libchurl.h                   |  18 +
 .../parquetmetadata_c++/MetadataInterface.h     |  18 +
 src/include/access/pxfcomutils.h                |  18 +
 src/include/access/pxfheaders.h                 |  18 +
 src/include/access/pxfuriparser.h               |  18 +
 src/include/access/pxfutils.h                   |  18 +
 src/include/catalog/pg_remote_credentials.h     |  18 +
 src/include/commands/extprotocolcmds.h          |  18 +
 src/include/commands/filesystemcmds.h           |  18 +
 src/include/commands/proclang.h                 |  18 +
 src/include/fstream/fstream.h                   |  18 +
 src/include/fstream/gfile.h                     |  18 +
 src/include/libpq/password_hash.h               |  18 +
 src/include/libpq/pg_sha2.h                     |  18 +
 src/include/optimizer/planpartition.h           |  19 +-
 src/include/optimizer/transform.h               |  19 +-
 src/include/optimizer/walkers.h                 |  18 +
 src/include/port/bsdi.h                         |  19 +-
 src/include/port/sco.h                          |  18 +
 src/include/port/sunos4.h                       |  18 +
 src/include/port/svr4.h                         |  18 +
 src/include/port/ultrix4.h                      |  18 +
 src/include/port/univel.h                       |  18 +
 src/include/port/unixware.h                     |  18 +
 src/include/port/win32/sys/mman.h               |  20 +-
 src/include/port/win32/sys/resource.h           |  19 +-
 src/include/postmaster/sendalert.h              |  18 +
 src/include/storage/lockrmgr.h                  |  18 +
 src/include/storage/pipe.h                      |  18 +
 src/include/utils/cash.h                        |  18 +
 src/include/utils/segadmin.h                    |  18 +
 src/include/utils/tuplestorenew.h               |  18 +
 72 files changed, 1312 insertions(+), 409 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b884075..ab9174a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,13 +41,10 @@
               -->
               <exclude>**/*.md</exclude>
               <exclude>**/*.in</exclude>
-              <exclude>**/*.mk</exclude>
-              <exclude>**/*.mak</exclude>
               <exclude>**/*.md5</exclude>
               <exclude>**/*.json</exclude>
               <exclude>**/*.ans</exclude>
               <exclude>**/*.sql</exclude>
-              <exclude>**/*.yaml</exclude>
               <exclude>**/*.out</exclude>
               <exclude>**/*.po</exclude>
               <exclude>**/*.map</exclude>
@@ -59,22 +56,19 @@
               <exclude>**/*.csv</exclude>
               <exclude>**/*.pm</exclude>
               <exclude>**/*.1</exclude>
-              <exclude>**/*.m4</exclude>
               <exclude>**/*.sample</exclude>
               <exclude>configure</exclude>
               <exclude>config/*</exclude>
               <exclude>*version</exclude>
               <exclude>**/*.pgc</exclude>
-              <exclude>**/*.rc</exclude>
-              <exclude>**/*.f</exclude>
               <exclude>**/*.cnf</exclude>
               <exclude>**/*.stx</exclude>
               <exclude>**/*.gdb</exclude>
               <exclude>**/__init__.py</exclude>
-              <exclude>**/Makefile*</exclude>
               <exclude>README-PostgreSQL</exclude>
               <exclude>contrib/gp_sparse_vector/bugs</exclude>
               <exclude>contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/resources/dataset</exclude>
+              <exclude>contrib/hawq-hadoop/**/*.yaml</exclude>
               <exclude>contrib/gp_sparse_vector/*output</exclude>
               <exclude>contrib/gp_sparse_vector/README*</exclude>
               <exclude>contrib/orafce/*</exclude>
@@ -88,170 +82,11 @@
               <exclude>depends/libyarn/gmock/COPYING</exclude>
               <exclude>depends/libyarn/gtest/**/*.cc</exclude>
               <exclude>depends/libyarn/gtest/**/*.h</exclude>
-              <exclude>depends/libyarn/releng/**</exclude>
               <exclude>depends/libyarn/**/Makefile</exclude>
               <exclude>doc/**/*.sgml</exclude>
               <exclude>pxf/*.gradle</exclude>
               <exclude>pxf/gradlew</exclude>
-              <exclude>pxf/**/*.classpath</exclude>
-              <exclude>src/backend/access/appendonly/aomd.c</exclude>
-              <exclude>src/backend/access/appendonly/aosegfiles.c</exclude>
-              <exclude>src/backend/access/appendonly/appendonlyam.c</exclude>
-              <exclude>src/backend/access/appendonly/appendonlywriter.c</exclude>
-              <exclude>src/backend/access/bitmap/*.c</exclude>
-              <exclude>src/backend/access/common/**/*.c</exclude>	
-              <exclude>src/backend/access/external/url.i</exclude>
-              <exclude>src/backend/access/gin/*.c</exclude>
-              <exclude>src/backend/access/gist/*.c</exclude>
-              <exclude>src/backend/access/hash/*.c</exclude>
-              <exclude>src/backend/access/heap/*.c</exclude>
-              <exclude>src/backend/access/index/*.*</exclude>
-              <exclude>src/backend/access/nbtree/*.c</exclude>
-              <exclude>src/backend/access/transam/**/*.c</exclude>
-              <exclude>src/backend/access/catalog/**/*.*</exclude>
-              <exclude>src/backend/bootstrap/*</exclude>
-              <exclude>src/backend/catalog/aclchk.c</exclude>
-              <exclude>src/backend/catalog/aoseg.c</exclude>
-              <exclude>src/backend/catalog/caql/gram.y</exclude>
-              <exclude>src/backend/catalog/caql/scan.l</exclude>
-              <exclude>src/backend/catalog/catalog.c</exclude>
-              <exclude>src/backend/catalog/dependency.c</exclude>
-              <exclude>src/backend/catalog/genbki.sh</exclude>
-              <exclude>src/backend/catalog/heap.c</exclude>
-              <exclude>src/backend/catalog/index.c</exclude>
-              <exclude>src/backend/catalog/indexing.c</exclude>
-              <exclude>src/backend/catalog/namespace.c</exclude>
-              <exclude>src/backend/catalog/pg_aggregate.c</exclude>
-              <exclude>src/backend/catalog/pg_appendonly.c</exclude>
-              <exclude>src/backend/catalog/pg_attribute_encoding.c</exclude>
-              <exclude>src/backend/catalog/pg_compression.c</exclude>
-              <exclude>src/backend/catalog/pg_constraint.c</exclude>
-              <exclude>src/backend/catalog/pg_conversion.c</exclude>
-              <exclude>src/backend/catalog/pg_depend.c</exclude>
-              <exclude>src/backend/catalog/pg_extprotocol.c</exclude>
-              <exclude>src/backend/catalog/pg_exttable.c</exclude>
-              <exclude>src/backend/catalog/pg_filesystem.c</exclude>
-              <exclude>src/backend/catalog/pg_largeobject.c</exclude>
-              <exclude>src/backend/catalog/pg_namespace.c</exclude>
-              <exclude>src/backend/catalog/pg_operator.c</exclude>
-              <exclude>src/backend/catalog/pg_proc.c</exclude>
-              <exclude>src/backend/catalog/pg_proc_callback.c</exclude>
-              <exclude>src/backend/catalog/pg_shdepend.c</exclude>
-              <exclude>src/backend/catalog/pg_type.c</exclude>
-              <exclude>src/backend/catalog/quicklz_compression.c</exclude>
-              <exclude>src/backend/catalog/toasting.c</exclude>
-              <exclude>src/backend/commands/**/*.c</exclude>
-              <exclude>src/backend/executor/execAmi.c</exclude>
-              <exclude>src/backend/executor/execBitmapAOScan.c</exclude>
-              <exclude>src/backend/executor/execBitmapHeapScan.c</exclude>
-              <exclude>src/backend/executor/execBitmapTableScan.c</exclude>
-              <exclude>src/backend/executor/execGrouping.c</exclude>
-              <exclude>src/backend/executor/execHeapScan.c</exclude>
-              <exclude>src/backend/executor/execHHashagg.c</exclude>
-              <exclude>src/backend/executor/execJunk.c</exclude>
-              <exclude>src/backend/executor/execMain.c</exclude>
-              <exclude>src/backend/executor/execProcnode.c</exclude>
-              <exclude>src/backend/executor/execQual.c</exclude>
-              <exclude>src/backend/executor/execScan.c</exclude>
-              <exclude>src/backend/executor/execTuples.c</exclude>
-              <exclude>src/backend/executor/execUtils.c</exclude>
-              <exclude>src/backend/executor/functions.c</exclude>
-              <exclude>src/backend/executor/instrument.c</exclude>
-              <exclude>src/backend/executor/nodeAgg.c</exclude>
-              <exclude>src/backend/executor/nodeAppend.c</exclude>
-              <exclude>src/backend/executor/nodeAppendOnlyscan.c</exclude>
-              <exclude>src/backend/executor/nodeBitmapAnd.c</exclude>
-              <exclude>src/backend/executor/nodeBitmapAppendOnlyscan.c</exclude>
-              <exclude>src/backend/executor/nodeBitmapHeapscan.c</exclude>
-              <exclude>src/backend/executor/nodeBitmapIndexscan.c</exclude>
-              <exclude>src/backend/executor/nodeBitmapOr.c</exclude>
-              <exclude>src/backend/executor/nodeBitmapTableScan.c</exclude>
-              <exclude>src/backend/executor/nodeFunctionscan.c</exclude>
-              <exclude>src/backend/executor/nodeHash.c</exclude>
-              <exclude>src/backend/executor/nodeHashjoin.c</exclude>
-              <exclude>src/backend/executor/nodeIndexscan.c</exclude>
-              <exclude>src/backend/executor/nodeLimit.c</exclude>
-              <exclude>src/backend/executor/nodeMaterial.c</exclude>
-              <exclude>src/backend/executor/nodeMergejoin.c</exclude>
-              <exclude>src/backend/executor/nodeNestloop.c</exclude>
-              <exclude>src/backend/executor/nodeResult.c</exclude>
-              <exclude>src/backend/executor/nodeSeqscan.c</exclude>
-              <exclude>src/backend/executor/nodeSetOp.c</exclude>
-              <exclude>src/backend/executor/nodeShareInputScan.c</exclude>
-              <exclude>src/backend/executor/nodeSort.c</exclude>
-              <exclude>src/backend/executor/nodeSubplan.c</exclude>
-              <exclude>src/backend/executor/nodeSubqueryscan.c</exclude>
-              <exclude>src/backend/executor/nodeTableFunction.c</exclude>
-              <exclude>src/backend/executor/nodeTidscan.c</exclude>
-              <exclude>src/backend/executor/nodeUnique.c</exclude>
-              <exclude>src/backend/executor/nodeValuesscan.c</exclude>
-              <exclude>src/backend/executor/spi.c</exclude>
-              <exclude>src/backend/executor/test/*</exclude>
-              <exclude>src/backend/executor/tstoreReceiver.c</exclude>
-              <exclude>src/backend/foreign/foreign.c</exclude>
-              <exclude>src/backend/gp_libpq_fe/**/*.c</exclude>
-              <exclude>src/backend/gp_libpq_fe/**/*.h</exclude>
-              <exclude>src/backend/gpopt/library.ver</exclude>
-              <exclude>src/backend/lib/*.c</exclude>
-              <exclude>src/backend/libgppc/lib/Doxyfile</exclude>
-              <exclude>src/backend/libgppc/lib/package/libgppc.spec</exclude>
-              <exclude>src/backend/executor/**/.c</exclude>
-              <exclude>src/backend/libpq/**/*</exclude>
-              <exclude>src/backend/main/main.c</exclude>
-              <exclude>src/backend/nodes/**/*</exclude>
-              <exclude>src/backend/optimizer/**/*</exclude>
-              <exclude>src/backend/parser/*</exclude>
-              <exclude>src/backend/port/**/*</exclude>
-              <exclude>src/backend/postmaster/**/*</exclude>
-              <exclude>src/backend/regex/*</exclude>
-              <exclude>src/backend/rewrite/*.c</exclude>
-              <exclude>src/backend/storage/file/README_QUICKLZ</exclude>
-              <exclude>src/backend/storage/buffer/*.c</exclude>
-              <exclude>src/backend/storage/ipc/*.c</exclude>
-              <exclude>src/backend/storage/file/buffile.c</exclude>
-              <exclude>src/backend/storage/file/fd.c</exclude>
-              <exclude>src/backend/storage/file/filesystem.c</exclude>
-              <exclude>src/backend/storage/file/pipe.c</exclude>
-              <exclude>src/backend/storage/freespace/*.c</exclude>
-              <exclude>src/backend/storage/l*/*.c</exclude>
-              <exclude>src/backend/storage/page/*.c</exclude>
-              <exclude>src/backend/storage/smgr/*.c</exclude>
-              <exclude>src/backend/tcop/**/*.c</exclude>
-              <exclude>src/backend/utils/adt/*</exclude>
-              <exclude>src/backend/utils/cache/**/*</exclude>
-              <exclude>src/backend/utils/error/assert.c</exclude>
-              <exclude>src/backend/utils/error/debugbreak.c</exclude>
-              <exclude>src/backend/utils/error/debugutils.c</exclude>
-              <exclude>src/backend/utils/error/elog.c</exclude>
-              <exclude>src/backend/utils/fmgr/*</exclude>
-              <exclude>src/backend/utils/Gen*</exclude>
-              <exclude>src/backend/utils/gp/*</exclude>
-              <exclude>src/backend/utils/hash/*</exclude>
-              <exclude>src/backend/utils/init/*</exclude>
-              <exclude>src/backend/utils/time/*</exclude>
-              <exclude>src/backend/utils/misc/check_guc</exclude>
-              <exclude>src/backend/utils/misc/etc/gpcheck.cnf</exclude>
-              <exclude>src/backend/utils/misc/etc/slaves</exclude>
-              <exclude>src/backend/utils/misc/guc-file.l</exclude>
-              <exclude>src/backend/utils/misc/guc.c</exclude>
-              <exclude>src/backend/utils/misc/help_config.c</exclude>
-              <exclude>src/backend/utils/misc/pg_rusage.c</exclude>
-              <exclude>src/backend/utils/misc/ps_status.c</exclude>
-              <exclude>src/backend/utils/misc/simex.c</exclude>
-              <exclude>src/backend/utils/misc/superuser.c</exclude>
-              <exclude>src/backend/utils/misc/tzparser.c</exclude>
-              <exclude>src/backend/utils/misc/uriparser.c</exclude>
-              <exclude>src/backend/utils/mmgr/aset.c</exclude>
-              <exclude>src/backend/utils/mmgr/asetDirect.c</exclude>
-              <exclude>src/backend/utils/mmgr/mcxt.c</exclude>
-              <exclude>src/backend/utils/mmgr/portalmem.c</exclude>
-              <exclude>src/backend/utils/probes.d</exclude>
-              <exclude>src/backend/utils/resowner/resowner.c</exclude>
-              <exclude>src/backend/utils/resscheduler/**/*</exclude>
-              <exclude>src/backend/utils/resscheduler/*</exclude>
-              <exclude>src/backend/utils/mb/**/*</exclude>
-              <exclude>src/backend/utils/sort/**/*</exclude>
-              <exclude>src/backend/utils/test/*</exclude>		 
+              <exclude>pxf/**/*.classpath</exclude>	 
               <exclude>src/bin/gp_workfile_mgr/*</exclude>
               <exclude>src/bin/gpfdist/src/gpfdist/glob.c</exclude>
               <exclude>src/bin/pgbench/*</exclude>
@@ -264,244 +99,29 @@
               <exclude>src/bin/psql/**/*</exclude>
               <exclude>src/bin/scripts/*.c</exclude>
               <exclude>src/DEVELOPERS</exclude>
-              <exclude>src/include/c.h</exclude>
-              <exclude>src/include/getaddrinfo.h</exclude>
-              <exclude>src/include/getopt_long.h</exclude>
-              <exclude>src/include/pg_config.h.win32</exclude>
-              <exclude>src/include/port.h</exclude>
-              <exclude>src/include/portability/instr_time.h</exclude>
-              <exclude>src/include/tablefuncapi.h</exclude>
-              <exclude>src/include/access/aosegfiles.h</exclude>
-              <exclude>src/include/access/appendonlytid.h</exclude>
-              <exclude>src/include/access/appendonlywriter.h</exclude>
-              <exclude>src/include/access/attnum.h</exclude>
-              <exclude>src/include/access/bitmap.h</exclude>
-              <exclude>src/include/access/cdbdistributedxidmap.h</exclude>
-              <exclude>src/include/access/clog.h</exclude>
-              <exclude>src/include/access/extprotocol.h</exclude>
-              <exclude>src/include/access/fileam.h</exclude>
-              <exclude>src/include/access/formatter.h</exclude>
-              <exclude>src/include/access/genam.h</exclude>
-              <exclude>src/include/access/gin.h</exclude>
-              <exclude>src/include/access/gist.h</exclude>
-              <exclude>src/include/access/gist_private.h</exclude>
-              <exclude>src/include/access/gistscan.h</exclude>
-              <exclude>src/include/access/ha_config.h</exclude>
-              <exclude>src/include/access/hash.h</exclude>
-              <exclude>src/include/access/hd_work_mgr.h</exclude>
-              <exclude>src/include/access/heapam.h</exclude>
-              <exclude>src/include/access/hio.h</exclude>
-              <exclude>src/include/access/htup.h</exclude>
-              <exclude>src/include/access/itup.h</exclude>
-              <exclude>src/include/access/libchurl.h</exclude>
-              <exclude>src/include/access/memtup.h</exclude>
-              <exclude>src/include/access/multixact.h</exclude>
-              <exclude>src/include/access/nbtree.h</exclude>
-              <exclude>src/include/access/parquetmetadata_c++/MetadataInterface.h</exclude>
-              <exclude>src/include/access/persistentendxactrec.h</exclude>
-              <exclude>src/include/access/persistentfilesysobjname.h</exclude>
-              <exclude>src/include/access/printtup.h</exclude>
-              <exclude>src/include/access/pxfanalyze.h</exclude>
-              <exclude>src/include/access/pxfcomutils.h</exclude>
-              <exclude>src/include/access/pxffilters.h</exclude>
-              <exclude>src/include/access/pxfheaders.h</exclude>
-              <exclude>src/include/access/pxfmasterapi.h</exclude>
-              <exclude>src/include/access/pxfuriparser.h</exclude>
-              <exclude>src/include/access/pxfutils.h</exclude>
+              <exclude>src/backend/access/index/caql.files</exclude>
+              <exclude>src/backend/gpopt/library.ver</exclude>
+              <exclude>src/backend/libgppc/lib/Doxyfile</exclude>
+              <exclude>src/backend/libgppc/lib/package/libgppc.spec</exclude>
+              <exclude>src/backend/port/beos/*.c</exclude>
+              <exclude>src/backend/port/tas/*.s</exclude>
+              <exclude>src/backend/regex/re_syntax.n</exclude>
+              <exclude>src/backend/storage/file/README_QUICKLZ</exclude>
+              <exclude>src/backend/utils/mb/conversion_procs/regress_epilogue</exclude>
+              <exclude>src/backend/utils/mb/conversion_procs/regress_prolog</exclude>
+              <exclude>src/backend/utils/mb/Unicode/ISO10646-GB18030.TXT</exclude>
+              <exclude>src/backend/utils/misc/check_guc</exclude>
+              <exclude>src/backend/utils/misc/etc/slaves</exclude>
               <exclude>src/include/access/README.caql_usage</exclude>
-              <exclude>src/include/access/reloptions.h</exclude>
-              <exclude>src/include/access/relscan.h</exclude>
-              <exclude>src/include/access/rmgr.h</exclude>
-              <exclude>src/include/access/sdir.h</exclude>
-              <exclude>src/include/access/skey.h</exclude>
-              <exclude>src/include/access/slru.h</exclude>
-              <exclude>src/include/access/subtrans.h</exclude>
-              <exclude>src/include/access/sysattr.h</exclude>
-              <exclude>src/include/access/transam.h</exclude>
-              <exclude>src/include/access/tupdesc.h</exclude>
-              <exclude>src/include/access/tupmacs.h</exclude>
-              <exclude>src/include/access/tuptoaster.h</exclude>
-              <exclude>src/include/access/twophase.h</exclude>
-              <exclude>src/include/access/twophase_rmgr.h</exclude>
-              <exclude>src/include/access/url.h</exclude>
-              <exclude>src/include/access/valid.h</exclude>
-              <exclude>src/include/access/xact.h</exclude>
-              <exclude>src/include/access/xlog.h</exclude>
-              <exclude>src/include/access/xlog_internal.h</exclude>
-              <exclude>src/include/access/xlogdefs.h</exclude>
-              <exclude>src/include/access/xlogmm.h</exclude>
-              <exclude>src/include/access/xlogutils.h</exclude>
-              <exclude>src/include/bootstrap/bootstrap.h</exclude>
-              <exclude>src/include/catalog/calico.pl</exclude>
-              <exclude>src/include/catalog/caqltrack.pl</exclude>
-              <exclude>src/include/catalog/caqluniqdef.pl</exclude>
-              <exclude>src/include/catalog/pablopcatso.pl</exclude>
-              <exclude>src/include/catalog/catalog.h</exclude>
-              <exclude>src/include/catalog/catullus.pl</exclude>
-              <exclude>src/include/catalog/catversion.h</exclude>
-              <exclude>src/include/catalog/dependency.h</exclude>
-              <exclude>src/include/catalog/duplicate_oids</exclude>
-              <exclude>src/include/catalog/genbki.h</exclude>
-              <exclude>src/include/catalog/heap.h</exclude>
-              <exclude>src/include/catalog/index.h</exclude>
-              <exclude>src/include/catalog/indexing.h</exclude>
-              <exclude>src/include/catalog/namespace.h</exclude>
-              <exclude>src/include/catalog/pg_aggregate.h</exclude>
-              <exclude>src/include/catalog/pg_am.h</exclude>
-              <exclude>src/include/catalog/pg_amop.h</exclude>
-              <exclude>src/include/catalog/pg_amproc.h</exclude>
-              <exclude>src/include/catalog/pg_attrdef.h</exclude>
-              <exclude>src/include/catalog/pg_attribute.h</exclude>
-              <exclude>src/include/catalog/pg_attribute_encoding.h</exclude>
-              <exclude>src/include/catalog/pg_auth_members.h</exclude>
-              <exclude>src/include/catalog/pg_auth_time_constraint.h</exclude>
-              <exclude>src/include/catalog/pg_authid.h</exclude>
-              <exclude>src/include/catalog/pg_autovacuum.h</exclude>
-              <exclude>src/include/catalog/pg_cast.h</exclude>
-              <exclude>src/include/catalog/pg_class.h</exclude>
-              <exclude>src/include/catalog/pg_compression.h</exclude>
-              <exclude>src/include/catalog/pg_constraint.h</exclude>
-              <exclude>src/include/catalog/pg_control.h</exclude>
-              <exclude>src/include/catalog/pg_conversion.h</exclude>
-              <exclude>src/include/catalog/pg_database.h</exclude>
-              <exclude>src/include/catalog/pg_depend.h</exclude>
-              <exclude>src/include/catalog/pg_description.h</exclude>
-              <exclude>src/include/catalog/pg_exttable.h</exclude>
-              <exclude>src/include/catalog/pg_filespace.h</exclude>
-              <exclude>src/include/catalog/pg_filespace_entry.h</exclude>
-              <exclude>src/include/catalog/pg_filesystem.h</exclude>
-              <exclude>src/include/catalog/pg_foreign_data_wrapper.h</exclude>
-              <exclude>src/include/catalog/pg_foreign_server.h</exclude>
-              <exclude>src/include/catalog/pg_foreign_table.h</exclude>
-              <exclude>src/include/catalog/pg_index.h</exclude>
-              <exclude>src/include/catalog/pg_inherits.h</exclude>
-              <exclude>src/include/catalog/pg_language.h</exclude>
-              <exclude>src/include/catalog/pg_largeobject.h</exclude>
-              <exclude>src/include/catalog/pg_listener.h</exclude>
-              <exclude>src/include/catalog/pg_namespace.h</exclude>
-              <exclude>src/include/catalog/pg_opclass.h</exclude>
-              <exclude>src/include/catalog/pg_operator.h</exclude>
-              <exclude>src/include/catalog/pg_partition_encoding.h</exclude>
-              <exclude>src/include/catalog/pg_pltemplate.h</exclude>
-              <exclude>src/include/catalog/pg_proc.h</exclude>
-              <exclude>src/include/catalog/pg_proc_callback.h</exclude>
-              <exclude>src/include/catalog/pg_remote_credentials.h</exclude>
-              <exclude>src/include/catalog/pg_resqueue.h</exclude>
-              <exclude>src/include/catalog/pg_rewrite.h</exclude>
-              <exclude>src/include/catalog/pg_shdepend.h</exclude>
-              <exclude>src/include/catalog/pg_shdescription.h</exclude>
-              <exclude>src/include/catalog/pg_statistic.h</exclude>
-              <exclude>src/include/catalog/pg_tablespace.h</exclude>
-              <exclude>src/include/catalog/pg_tidycat.h</exclude>
-              <exclude>src/include/catalog/pg_trigger.h</exclude>
-              <exclude>src/include/catalog/pg_type.h</exclude>
-              <exclude>src/include/catalog/pg_type_encoding.h</exclude>
-              <exclude>src/include/catalog/pg_user_mapping.h</exclude>
-              <exclude>src/include/catalog/pg_window.h</exclude>
               <exclude>src/include/catalog/README.add_catalog_function</exclude>
               <exclude>src/include/catalog/README.tidycat</exclude>
-              <exclude>src/include/catalog/sleazy.pl</exclude>
-              <exclude>src/include/catalog/tidycat.pl</exclude>
-              <exclude>src/include/catalog/toasting.h</exclude>
-              <exclude>src/include/catalog/unused_oids</exclude>
-              <exclude>src/include/cdb/cdbappendonlyam.h</exclude>
-              <exclude>src/include/cdb/cdbgroup.h</exclude>
-              <exclude>src/include/cdb/cdblink.h</exclude>
-              <exclude>src/include/commands/alter.h</exclude>
-              <exclude>src/include/commands/analyzeutils.h</exclude>
-              <exclude>src/include/commands/async.h</exclude>
-              <exclude>src/include/commands/cluster.h</exclude>
-              <exclude>src/include/commands/comment.h</exclude>
-              <exclude>src/include/commands/conversioncmds.h</exclude>
-              <exclude>src/include/commands/copy.h</exclude>
-              <exclude>src/include/commands/dbcommands.h</exclude>
-              <exclude>src/include/commands/defrem.h</exclude>
-              <exclude>src/include/commands/explain.h</exclude>
-              <exclude>src/include/commands/extprotocolcmds.h</exclude>
-              <exclude>src/include/commands/filesystemcmds.h</exclude>
-              <exclude>src/include/commands/lockcmds.h</exclude>
-              <exclude>src/include/commands/portalcmds.h</exclude>
-              <exclude>src/include/commands/prepare.h</exclude>
-              <exclude>src/include/commands/proclang.h</exclude>
-              <exclude>src/include/commands/queue.h</exclude>
-              <exclude>src/include/commands/schemacmds.h</exclude>
-              <exclude>src/include/commands/sequence.h</exclude>
-              <exclude>src/include/commands/tablecmds.h</exclude>
-              <exclude>src/include/commands/tablespace.h</exclude>
-              <exclude>src/include/commands/trigger.h</exclude>
-              <exclude>src/include/commands/typecmds.h</exclude>
-              <exclude>src/include/commands/user.h</exclude>
-              <exclude>src/include/commands/vacuum.h</exclude>
-              <exclude>src/include/commands/variable.h</exclude>
-              <exclude>src/include/commands/version.h</exclude>
-              <exclude>src/include/commands/view.h</exclude>
-              <exclude>src/include/executor/execdebug.h</exclude>
-              <exclude>src/include/executor/execdefs.h</exclude>
-              <exclude>src/include/executor/execdesc.h</exclude>
-              <exclude>src/include/executor/execHHashagg.h</exclude>
-              <exclude>src/include/executor/executor.h</exclude>
-              <exclude>src/include/executor/functions.h</exclude>
-              <exclude>src/include/executor/hashjoin.h</exclude>
-              <exclude>src/include/executor/instrument.h</exclude>
-              <exclude>src/include/executor/nodeAgg.h</exclude>
-              <exclude>src/include/executor/nodeAppend.h</exclude>
-              <exclude>src/include/executor/nodeAppendOnlyscan.h</exclude>
-              <exclude>src/include/executor/nodeBitmapAnd.h</exclude>
-              <exclude>src/include/executor/nodeBitmapAppendOnlyscan.h</exclude>
-              <exclude>src/include/executor/nodeBitmapHeapscan.h</exclude>
-              <exclude>src/include/executor/nodeBitmapIndexscan.h</exclude>
-              <exclude>src/include/executor/nodeBitmapOr.h</exclude>
-              <exclude>src/include/executor/nodeBitmapTableScan.h</exclude>
-              <exclude>src/include/executor/nodeFunctionscan.h</exclude>
-              <exclude>src/include/executor/nodeHash.h</exclude>
-              <exclude>src/include/executor/nodeHashjoin.h</exclude>
-              <exclude>src/include/executor/nodeIndexscan.h</exclude>
-              <exclude>src/include/executor/nodeLimit.h</exclude>
-              <exclude>src/include/executor/nodeMaterial.h</exclude>
-              <exclude>src/include/executor/nodeMergejoin.h</exclude>
-              <exclude>src/include/executor/nodeMotion.h</exclude>
-              <exclude>src/include/executor/nodeNestloop.h</exclude>
-              <exclude>src/include/executor/nodeResult.h</exclude>
-              <exclude>src/include/executor/nodeSeqscan.h</exclude>
-              <exclude>src/include/executor/nodeSetOp.h</exclude>
-              <exclude>src/include/executor/nodeShareInputScan.h</exclude>
-              <exclude>src/include/executor/nodeSort.h</exclude>
-              <exclude>src/include/executor/nodeSubplan.h</exclude>
-              <exclude>src/include/executor/nodeSubqueryscan.h</exclude>
-              <exclude>src/include/executor/nodeTidscan.h</exclude>
-              <exclude>src/include/executor/nodeUnique.h</exclude>
-              <exclude>src/include/executor/nodeValuesscan.h</exclude>
-              <exclude>src/include/executor/spi.h</exclude>
-              <exclude>src/include/executor/spi_priv.h</exclude>
-              <exclude>src/include/executor/tstoreReceiver.h</exclude>
-              <exclude>src/include/executor/tuptable.h</exclude>
-              <exclude>src/include/fmgr.h</exclude>
-              <exclude>src/include/foreign/foreign.h</exclude>
-              <exclude>src/include/fstream/*.h</exclude>
-              <exclude>src/include/funcapi.h</exclude>
-              <exclude>src/include/lib/*.h</exclude>
-              <exclude>src/include/libpq/*.h</exclude>
-              <exclude>src/include/mb/pg_wchar.h</exclude>
-              <exclude>src/include/miscadmin.h</exclude>		
-              <exclude>src/include/nodes/*.h</exclude>
-              <exclude>src/include/optimizer/*.h</exclude>
-              <exclude>src/include/parser/*.h</exclude>
-              <exclude>src/include/parser/*.py</exclude>
-              <exclude>src/include/port/**/*.h</exclude>
-              <exclude>src/include/pg*.h</exclude>
-              <exclude>src/include/postgres*.h</exclude>
-              <exclude>src/include/postmaster/*.h</exclude>
-              <exclude>src/include/regex/*.h</exclude>
-              <exclude>src/include/rewrite/*.h</exclude>
-              <exclude>src/include/rusagestub.h</exclude>
-              <exclude>src/include/storage/*.h</exclude>
-              <exclude>src/include/tcop/*.h</exclude>
-              <exclude>src/include/utils/*.h</exclude>
+              <exclude>src/include/pg_config.h.win32</exclude>
               <exclude>src/interfaces/**/*</exclude>
               <exclude>src/tools/**/*</exclude>
               <exclude>src/tutorial/*</exclude>
               <exclude>src/pl/**/*</exclude>
               <exclude>src/port/*</exclude>
+              <exclude>src/**/Makefile*</exclude>
               <exclude>src/template/*</exclude>
               <exclude>src/test/**/*</exclude>
               <exclude>src/timezone/**/*</exclude>
@@ -513,6 +133,24 @@
               <exclude>tools/bin/postgresql_conf_gp_additions</exclude>
               <exclude>tools/doc/**/*</exclude>
             </excludes>
+            <licenses>
+              <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                <licenseFamilyName>PostgreSQL License</licenseFamilyName>
+                <licenseFamilyCategory>PGSQL</licenseFamilyCategory>
+                <patterns>
+                  <pattern>$PostgreSQL:</pattern>
+                  <pattern>PostgreSQL Global Development Group</pattern>
+                </patterns>
+            </license>
+            </licenses>
+            <licenseFamilies>
+              <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
+                <familyName>PostgreSQL License</familyName>
+              </licenseFamily>
+              <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
+                <familyName>Apache License Version 2.0</familyName>
+              </licenseFamily>
+            </licenseFamilies>
           </configuration>
         </plugin>
       </plugins>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/access/common/test/tupdesc_test.c
----------------------------------------------------------------------
diff --git a/src/backend/access/common/test/tupdesc_test.c b/src/backend/access/common/test/tupdesc_test.c
index 7e1f104..5d38621 100644
--- a/src/backend/access/common/test/tupdesc_test.c
+++ b/src/backend/access/common/test/tupdesc_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/access/external/url.i
----------------------------------------------------------------------
diff --git a/src/backend/access/external/url.i b/src/backend/access/external/url.i
index d2b4816..6b0eb9b 100755
--- a/src/backend/access/external/url.i
+++ b/src/backend/access/external/url.i
@@ -1,5 +1,20 @@
 /*
- * Portions 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.
  */
 
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/access/transam/gp_distributed_log.c
----------------------------------------------------------------------
diff --git a/src/backend/access/transam/gp_distributed_log.c b/src/backend/access/transam/gp_distributed_log.c
index 8e21bc9..7273d84 100644
--- a/src/backend/access/transam/gp_distributed_log.c
+++ b/src/backend/access/transam/gp_distributed_log.c
@@ -1,10 +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_distributed_log.c
  *		Set-returning function to view gp_distributed_log table.
  *
- * IDENTIFICATION
- *
  *-------------------------------------------------------------------------
  */
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/access/transam/gp_transaction_log.c
----------------------------------------------------------------------
diff --git a/src/backend/access/transam/gp_transaction_log.c b/src/backend/access/transam/gp_transaction_log.c
index 83b4afd..e4dc28d 100644
--- a/src/backend/access/transam/gp_transaction_log.c
+++ b/src/backend/access/transam/gp_transaction_log.c
@@ -1,10 +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_transaction_log.c
  *		Set-returning function to view gp_transaction_log table.
  *
- * IDENTIFICATION
- *
  *-------------------------------------------------------------------------
  */
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/access/transam/test/xact_test.c
----------------------------------------------------------------------
diff --git a/src/backend/access/transam/test/xact_test.c b/src/backend/access/transam/test/xact_test.c
index 2d85f03..6fd47c5 100644
--- a/src/backend/access/transam/test/xact_test.c
+++ b/src/backend/access/transam/test/xact_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/catalog/caql/gram.y
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/gram.y b/src/backend/catalog/caql/gram.y
index 1350f06..6d806ac 100644
--- a/src/backend/catalog/caql/gram.y
+++ b/src/backend/catalog/caql/gram.y
@@ -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.
+ */
 /*-------------------------------------------------------------------------
  *
  * gram.y

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/catalog/caql/scan.l
----------------------------------------------------------------------
diff --git a/src/backend/catalog/caql/scan.l b/src/backend/catalog/caql/scan.l
index 273c11f..f609a95 100755
--- a/src/backend/catalog/caql/scan.l
+++ b/src/backend/catalog/caql/scan.l
@@ -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.
+ */
 /*-------------------------------------------------------------------------
  *
  * scan.l

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/commands/test/define_test.c
----------------------------------------------------------------------
diff --git a/src/backend/commands/test/define_test.c b/src/backend/commands/test/define_test.c
index b2fec55..c456e4b 100644
--- a/src/backend/commands/test/define_test.c
+++ b/src/backend/commands/test/define_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/executor/test/execAmi_test.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/test/execAmi_test.c b/src/backend/executor/test/execAmi_test.c
index 9947104..1d22ce1 100644
--- a/src/backend/executor/test/execAmi_test.c
+++ b/src/backend/executor/test/execAmi_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/executor/test/execHHashagg_test.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/test/execHHashagg_test.c b/src/backend/executor/test/execHHashagg_test.c
index 0972ad9..a1ef1db 100644
--- a/src/backend/executor/test/execHHashagg_test.c
+++ b/src/backend/executor/test/execHHashagg_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/executor/test/execWorkfile_test.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/test/execWorkfile_test.c b/src/backend/executor/test/execWorkfile_test.c
index 9d95a1f..5a279df 100644
--- a/src/backend/executor/test/execWorkfile_test.c
+++ b/src/backend/executor/test/execWorkfile_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/executor/test/nodeShareInputScan_test.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/test/nodeShareInputScan_test.c b/src/backend/executor/test/nodeShareInputScan_test.c
index 7bb8b92..292def2 100644
--- a/src/backend/executor/test/nodeShareInputScan_test.c
+++ b/src/backend/executor/test/nodeShareInputScan_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/executor/test/nodeSubplan_test.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/test/nodeSubplan_test.c b/src/backend/executor/test/nodeSubplan_test.c
index 4786220..e587767 100644
--- a/src/backend/executor/test/nodeSubplan_test.c
+++ b/src/backend/executor/test/nodeSubplan_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/libpq/test/pqcomm_test.c
----------------------------------------------------------------------
diff --git a/src/backend/libpq/test/pqcomm_test.c b/src/backend/libpq/test/pqcomm_test.c
index 291ffe6..c1df466 100644
--- a/src/backend/libpq/test/pqcomm_test.c
+++ b/src/backend/libpq/test/pqcomm_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/nodes/stack.c
----------------------------------------------------------------------
diff --git a/src/backend/nodes/stack.c b/src/backend/nodes/stack.c
index 43ff082..daa06d5 100644
--- a/src/backend/nodes/stack.c
+++ b/src/backend/nodes/stack.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /*-------------------------------------------------------------------------
  *
  * Stack.h

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/nodes/test/list_test.c
----------------------------------------------------------------------
diff --git a/src/backend/nodes/test/list_test.c b/src/backend/nodes/test/list_test.c
index ee63c78..ebfae23 100644
--- a/src/backend/nodes/test/list_test.c
+++ b/src/backend/nodes/test/list_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/optimizer/plan/test/createplan_test.c
----------------------------------------------------------------------
diff --git a/src/backend/optimizer/plan/test/createplan_test.c b/src/backend/optimizer/plan/test/createplan_test.c
index 4292d00..4b7af46 100644
--- a/src/backend/optimizer/plan/test/createplan_test.c
+++ b/src/backend/optimizer/plan/test/createplan_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/optimizer/plan/transform.c
----------------------------------------------------------------------
diff --git a/src/backend/optimizer/plan/transform.c b/src/backend/optimizer/plan/transform.c
index a49b7aa..5438524 100644
--- a/src/backend/optimizer/plan/transform.c
+++ b/src/backend/optimizer/plan/transform.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.
+ */
 /*-------------------------------------------------------------------------
  *
  * transform.c
  * 	This file contains methods to transform the query tree
  *
- * Portions Copyright (c) 2011, EMC Greenplum
  * Author: Siva Narayanan
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/optimizer/util/walkers.c
----------------------------------------------------------------------
diff --git a/src/backend/optimizer/util/walkers.c b/src/backend/optimizer/util/walkers.c
index ac7349d..90d58bc 100644
--- a/src/backend/optimizer/util/walkers.c
+++ b/src/backend/optimizer/util/walkers.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.
+ */
+/*
  * walkers.c
  *
  *  Created on: Feb 8, 2011

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/port/dynloader/sco.c
----------------------------------------------------------------------
diff --git a/src/backend/port/dynloader/sco.c b/src/backend/port/dynloader/sco.c
index 10e9104..a7e0eed 100644
--- a/src/backend/port/dynloader/sco.c
+++ b/src/backend/port/dynloader/sco.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /* Dummy file used for nothing at this point
  *
  * see sco.h

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/port/dynloader/sunos4.c
----------------------------------------------------------------------
diff --git a/src/backend/port/dynloader/sunos4.c b/src/backend/port/dynloader/sunos4.c
index 08dd974..b63c58d 100644
--- a/src/backend/port/dynloader/sunos4.c
+++ b/src/backend/port/dynloader/sunos4.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /* Dummy file used for nothing at this point
  *
  * see sunos4.h

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/port/dynloader/svr4.c
----------------------------------------------------------------------
diff --git a/src/backend/port/dynloader/svr4.c b/src/backend/port/dynloader/svr4.c
index e0f6b6b..60a6f56 100644
--- a/src/backend/port/dynloader/svr4.c
+++ b/src/backend/port/dynloader/svr4.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /* Dummy file used for nothing at this point
  *
  * see svr4.h

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/port/dynloader/univel.c
----------------------------------------------------------------------
diff --git a/src/backend/port/dynloader/univel.c b/src/backend/port/dynloader/univel.c
index 98b6d61..4dc9738 100644
--- a/src/backend/port/dynloader/univel.c
+++ b/src/backend/port/dynloader/univel.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /* Dummy file used for nothing at this point
  *
  * see univel.h

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/port/dynloader/unixware.c
----------------------------------------------------------------------
diff --git a/src/backend/port/dynloader/unixware.c b/src/backend/port/dynloader/unixware.c
index 0ae1c69..111bae8 100644
--- a/src/backend/port/dynloader/unixware.c
+++ b/src/backend/port/dynloader/unixware.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /* Dummy file used for nothing at this point
  *
  * see unixware.h

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/postmaster/primary_mirror_transition_client.c
----------------------------------------------------------------------
diff --git a/src/backend/postmaster/primary_mirror_transition_client.c b/src/backend/postmaster/primary_mirror_transition_client.c
index e16e40e..7777c5e 100644
--- a/src/backend/postmaster/primary_mirror_transition_client.c
+++ b/src/backend/postmaster/primary_mirror_transition_client.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /**
  * This code is used for clients that need to connect to the postmaster to send a so-called "transition" message
  * Transition messages are special in that they do not require a full database backend to be executed; so they

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/postmaster/sendalert_common.h
----------------------------------------------------------------------
diff --git a/src/backend/postmaster/sendalert_common.h b/src/backend/postmaster/sendalert_common.h
index e4ec247..9e02c6d 100644
--- a/src/backend/postmaster/sendalert_common.h
+++ b/src/backend/postmaster/sendalert_common.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #ifndef SENDALERT_COMMON_H
 #define SENDALERT_COMMON_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/storage/file/pipe.c
----------------------------------------------------------------------
diff --git a/src/backend/storage/file/pipe.c b/src/backend/storage/file/pipe.c
index f0c913b..300a864 100644
--- a/src/backend/storage/file/pipe.c
+++ b/src/backend/storage/file/pipe.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /* pipe.c */
 
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/tcop/test/postgres_test.c
----------------------------------------------------------------------
diff --git a/src/backend/tcop/test/postgres_test.c b/src/backend/tcop/test/postgres_test.c
index 8656fb2..95fae0b 100644
--- a/src/backend/tcop/test/postgres_test.c
+++ b/src/backend/tcop/test/postgres_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/utils/adt/matrix.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/adt/matrix.c b/src/backend/utils/adt/matrix.c
index 40c3a49..111e526 100644
--- a/src/backend/utils/adt/matrix.c
+++ b/src/backend/utils/adt/matrix.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include "postgres.h"
 #include "funcapi.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/utils/adt/pivot.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/adt/pivot.c b/src/backend/utils/adt/pivot.c
index 7067bf1..daade62 100644
--- a/src/backend/utils/adt/pivot.c
+++ b/src/backend/utils/adt/pivot.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include "postgres.h"
 #include "funcapi.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/utils/cache/test/inval_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/cache/test/inval_test.c b/src/backend/utils/cache/test/inval_test.c
index 4e84296..877e8c0 100644
--- a/src/backend/utils/cache/test/inval_test.c
+++ b/src/backend/utils/cache/test/inval_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/utils/hash/crc32c.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/hash/crc32c.c b/src/backend/utils/hash/crc32c.c
index 04b643a..7c427a8 100644
--- a/src/backend/utils/hash/crc32c.c
+++ b/src/backend/utils/hash/crc32c.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.
+ */
+/*
  * crc32c.c
  *
  *  Created on: Mar 3, 2011

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/utils/resscheduler/test/memquota_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/resscheduler/test/memquota_test.c b/src/backend/utils/resscheduler/test/memquota_test.c
index 37af09a..f56fb29 100644
--- a/src/backend/utils/resscheduler/test/memquota_test.c
+++ b/src/backend/utils/resscheduler/test/memquota_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/utils/sort/logtape.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/sort/logtape.c b/src/backend/utils/sort/logtape.c
index 1971220..4584af5 100644
--- a/src/backend/utils/sort/logtape.c
+++ b/src/backend/utils/sort/logtape.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /*-------------------------------------------------------------------------
  *
  * logtape.c

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/utils/sort/test/string_wrapper_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/sort/test/string_wrapper_test.c b/src/backend/utils/sort/test/string_wrapper_test.c
index 3b81eaf..477e20d 100644
--- a/src/backend/utils/sort/test/string_wrapper_test.c
+++ b/src/backend/utils/sort/test/string_wrapper_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/utils/sort/tuplestorenew.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/sort/tuplestorenew.c b/src/backend/utils/sort/tuplestorenew.c
index 3c0ce52..df699ff 100644
--- a/src/backend/utils/sort/tuplestorenew.c
+++ b/src/backend/utils/sort/tuplestorenew.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.
+ */
+/*
  * tuplestorenew.c
  *		A better tuplestore
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/backend/utils/test/session_state_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/test/session_state_test.c b/src/backend/utils/test/session_state_test.c
index ff4df67..045d370 100755
--- a/src/backend/utils/test/session_state_test.c
+++ b/src/backend/utils/test/session_state_test.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/include/access/aosegfiles.h
----------------------------------------------------------------------
diff --git a/src/include/access/aosegfiles.h b/src/include/access/aosegfiles.h
index 6e22b71..c8d3d5a 100644
--- a/src/include/access/aosegfiles.h
+++ b/src/include/access/aosegfiles.h
@@ -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.
+ */
 /*-------------------------------------------------------------------------
 *
 * aosegfiles.h
 *	  internal specifications of the pg_aoseg_* Append Only file segment
 *	  list relation.
 *
-* Portions Copyright (c) 2008, Greenplum Inc.
 *-------------------------------------------------------------------------
 */
 #ifndef AOSEGFILES_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/include/access/ha_config.h
----------------------------------------------------------------------
diff --git a/src/include/access/ha_config.h b/src/include/access/ha_config.h
index 8f45937..a5a01ae 100644
--- a/src/include/access/ha_config.h
+++ b/src/include/access/ha_config.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #ifndef _HA_CONFIG_H_
 #define _HA_CONFIG_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c9fc57a3/src/include/access/libchurl.h
----------------------------------------------------------------------
diff --git a/src/include/access/libchurl.h b/src/include/access/libchurl.h
index 936277f..5db2a06 100644
--- a/src/include/access/libchurl.h
+++ b/src/include/access/libchurl.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #ifndef _GPHDFS_LIBCHURL_H_
 #define _GPHDFS_LIBCHURL_H_
 



Mime
View raw message