diff --git a/pom.xml b/pom.xml index b884075aec..ab9174af0f 100644 --- a/pom.xml +++ b/pom.xml @@ -41,13 +41,10 @@ --> **/*.md **/*.in - **/*.mk - **/*.mak **/*.md5 **/*.json **/*.ans **/*.sql - **/*.yaml **/*.out **/*.po **/*.map @@ -59,22 +56,19 @@ **/*.csv **/*.pm **/*.1 - **/*.m4 **/*.sample configure config/* *version **/*.pgc - **/*.rc - **/*.f **/*.cnf **/*.stx **/*.gdb **/__init__.py - **/Makefile* README-PostgreSQL contrib/gp_sparse_vector/bugs contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/resources/dataset + contrib/hawq-hadoop/**/*.yaml contrib/gp_sparse_vector/*output contrib/gp_sparse_vector/README* contrib/orafce/* @@ -88,170 +82,11 @@ depends/libyarn/gmock/COPYING depends/libyarn/gtest/**/*.cc depends/libyarn/gtest/**/*.h - depends/libyarn/releng/** depends/libyarn/**/Makefile doc/**/*.sgml pxf/*.gradle pxf/gradlew - pxf/**/*.classpath - src/backend/access/appendonly/aomd.c - src/backend/access/appendonly/aosegfiles.c - src/backend/access/appendonly/appendonlyam.c - src/backend/access/appendonly/appendonlywriter.c - src/backend/access/bitmap/*.c - src/backend/access/common/**/*.c - src/backend/access/external/url.i - src/backend/access/gin/*.c - src/backend/access/gist/*.c - src/backend/access/hash/*.c - src/backend/access/heap/*.c - src/backend/access/index/*.* - src/backend/access/nbtree/*.c - src/backend/access/transam/**/*.c - src/backend/access/catalog/**/*.* - src/backend/bootstrap/* - src/backend/catalog/aclchk.c - src/backend/catalog/aoseg.c - src/backend/catalog/caql/gram.y - src/backend/catalog/caql/scan.l - src/backend/catalog/catalog.c - src/backend/catalog/dependency.c - src/backend/catalog/genbki.sh - src/backend/catalog/heap.c - src/backend/catalog/index.c - src/backend/catalog/indexing.c - src/backend/catalog/namespace.c - src/backend/catalog/pg_aggregate.c - src/backend/catalog/pg_appendonly.c - src/backend/catalog/pg_attribute_encoding.c - src/backend/catalog/pg_compression.c - src/backend/catalog/pg_constraint.c - src/backend/catalog/pg_conversion.c - src/backend/catalog/pg_depend.c - src/backend/catalog/pg_extprotocol.c - src/backend/catalog/pg_exttable.c - src/backend/catalog/pg_filesystem.c - src/backend/catalog/pg_largeobject.c - src/backend/catalog/pg_namespace.c - src/backend/catalog/pg_operator.c - src/backend/catalog/pg_proc.c - src/backend/catalog/pg_proc_callback.c - src/backend/catalog/pg_shdepend.c - src/backend/catalog/pg_type.c - src/backend/catalog/quicklz_compression.c - src/backend/catalog/toasting.c - src/backend/commands/**/*.c - src/backend/executor/execAmi.c - src/backend/executor/execBitmapAOScan.c - src/backend/executor/execBitmapHeapScan.c - src/backend/executor/execBitmapTableScan.c - src/backend/executor/execGrouping.c - src/backend/executor/execHeapScan.c - src/backend/executor/execHHashagg.c - src/backend/executor/execJunk.c - src/backend/executor/execMain.c - src/backend/executor/execProcnode.c - src/backend/executor/execQual.c - src/backend/executor/execScan.c - src/backend/executor/execTuples.c - src/backend/executor/execUtils.c - src/backend/executor/functions.c - src/backend/executor/instrument.c - src/backend/executor/nodeAgg.c - src/backend/executor/nodeAppend.c - src/backend/executor/nodeAppendOnlyscan.c - src/backend/executor/nodeBitmapAnd.c - src/backend/executor/nodeBitmapAppendOnlyscan.c - src/backend/executor/nodeBitmapHeapscan.c - src/backend/executor/nodeBitmapIndexscan.c - src/backend/executor/nodeBitmapOr.c - src/backend/executor/nodeBitmapTableScan.c - src/backend/executor/nodeFunctionscan.c - src/backend/executor/nodeHash.c - src/backend/executor/nodeHashjoin.c - src/backend/executor/nodeIndexscan.c - src/backend/executor/nodeLimit.c - src/backend/executor/nodeMaterial.c - src/backend/executor/nodeMergejoin.c - src/backend/executor/nodeNestloop.c - src/backend/executor/nodeResult.c - src/backend/executor/nodeSeqscan.c - src/backend/executor/nodeSetOp.c - src/backend/executor/nodeShareInputScan.c - src/backend/executor/nodeSort.c - src/backend/executor/nodeSubplan.c - src/backend/executor/nodeSubqueryscan.c - src/backend/executor/nodeTableFunction.c - src/backend/executor/nodeTidscan.c - src/backend/executor/nodeUnique.c - src/backend/executor/nodeValuesscan.c - src/backend/executor/spi.c - src/backend/executor/test/* - src/backend/executor/tstoreReceiver.c - src/backend/foreign/foreign.c - src/backend/gp_libpq_fe/**/*.c - src/backend/gp_libpq_fe/**/*.h - src/backend/gpopt/library.ver - src/backend/lib/*.c - src/backend/libgppc/lib/Doxyfile - src/backend/libgppc/lib/package/libgppc.spec - src/backend/executor/**/.c - src/backend/libpq/**/* - src/backend/main/main.c - src/backend/nodes/**/* - src/backend/optimizer/**/* - src/backend/parser/* - src/backend/port/**/* - src/backend/postmaster/**/* - src/backend/regex/* - src/backend/rewrite/*.c - src/backend/storage/file/README_QUICKLZ - src/backend/storage/buffer/*.c - src/backend/storage/ipc/*.c - src/backend/storage/file/buffile.c - src/backend/storage/file/fd.c - src/backend/storage/file/filesystem.c - src/backend/storage/file/pipe.c - src/backend/storage/freespace/*.c - src/backend/storage/l*/*.c - src/backend/storage/page/*.c - src/backend/storage/smgr/*.c - src/backend/tcop/**/*.c - src/backend/utils/adt/* - src/backend/utils/cache/**/* - src/backend/utils/error/assert.c - src/backend/utils/error/debugbreak.c - src/backend/utils/error/debugutils.c - src/backend/utils/error/elog.c - src/backend/utils/fmgr/* - src/backend/utils/Gen* - src/backend/utils/gp/* - src/backend/utils/hash/* - src/backend/utils/init/* - src/backend/utils/time/* - src/backend/utils/misc/check_guc - src/backend/utils/misc/etc/gpcheck.cnf - src/backend/utils/misc/etc/slaves - src/backend/utils/misc/guc-file.l - src/backend/utils/misc/guc.c - src/backend/utils/misc/help_config.c - src/backend/utils/misc/pg_rusage.c - src/backend/utils/misc/ps_status.c - src/backend/utils/misc/simex.c - src/backend/utils/misc/superuser.c - src/backend/utils/misc/tzparser.c - src/backend/utils/misc/uriparser.c - src/backend/utils/mmgr/aset.c - src/backend/utils/mmgr/asetDirect.c - src/backend/utils/mmgr/mcxt.c - src/backend/utils/mmgr/portalmem.c - src/backend/utils/probes.d - src/backend/utils/resowner/resowner.c - src/backend/utils/resscheduler/**/* - src/backend/utils/resscheduler/* - src/backend/utils/mb/**/* - src/backend/utils/sort/**/* - src/backend/utils/test/* + pxf/**/*.classpath src/bin/gp_workfile_mgr/* src/bin/gpfdist/src/gpfdist/glob.c src/bin/pgbench/* @@ -264,244 +99,29 @@ src/bin/psql/**/* src/bin/scripts/*.c src/DEVELOPERS - src/include/c.h - src/include/getaddrinfo.h - src/include/getopt_long.h - src/include/pg_config.h.win32 - src/include/port.h - src/include/portability/instr_time.h - src/include/tablefuncapi.h - src/include/access/aosegfiles.h - src/include/access/appendonlytid.h - src/include/access/appendonlywriter.h - src/include/access/attnum.h - src/include/access/bitmap.h - src/include/access/cdbdistributedxidmap.h - src/include/access/clog.h - src/include/access/extprotocol.h - src/include/access/fileam.h - src/include/access/formatter.h - src/include/access/genam.h - src/include/access/gin.h - src/include/access/gist.h - src/include/access/gist_private.h - src/include/access/gistscan.h - src/include/access/ha_config.h - src/include/access/hash.h - src/include/access/hd_work_mgr.h - src/include/access/heapam.h - src/include/access/hio.h - src/include/access/htup.h - src/include/access/itup.h - src/include/access/libchurl.h - src/include/access/memtup.h - src/include/access/multixact.h - src/include/access/nbtree.h - src/include/access/parquetmetadata_c++/MetadataInterface.h - src/include/access/persistentendxactrec.h - src/include/access/persistentfilesysobjname.h - src/include/access/printtup.h - src/include/access/pxfanalyze.h - src/include/access/pxfcomutils.h - src/include/access/pxffilters.h - src/include/access/pxfheaders.h - src/include/access/pxfmasterapi.h - src/include/access/pxfuriparser.h - src/include/access/pxfutils.h + src/backend/access/index/caql.files + src/backend/gpopt/library.ver + src/backend/libgppc/lib/Doxyfile + src/backend/libgppc/lib/package/libgppc.spec + src/backend/port/beos/*.c + src/backend/port/tas/*.s + src/backend/regex/re_syntax.n + src/backend/storage/file/README_QUICKLZ + src/backend/utils/mb/conversion_procs/regress_epilogue + src/backend/utils/mb/conversion_procs/regress_prolog + src/backend/utils/mb/Unicode/ISO10646-GB18030.TXT + src/backend/utils/misc/check_guc + src/backend/utils/misc/etc/slaves src/include/access/README.caql_usage - src/include/access/reloptions.h - src/include/access/relscan.h - src/include/access/rmgr.h - src/include/access/sdir.h - src/include/access/skey.h - src/include/access/slru.h - src/include/access/subtrans.h - src/include/access/sysattr.h - src/include/access/transam.h - src/include/access/tupdesc.h - src/include/access/tupmacs.h - src/include/access/tuptoaster.h - src/include/access/twophase.h - src/include/access/twophase_rmgr.h - src/include/access/url.h - src/include/access/valid.h - src/include/access/xact.h - src/include/access/xlog.h - src/include/access/xlog_internal.h - src/include/access/xlogdefs.h - src/include/access/xlogmm.h - src/include/access/xlogutils.h - src/include/bootstrap/bootstrap.h - src/include/catalog/calico.pl - src/include/catalog/caqltrack.pl - src/include/catalog/caqluniqdef.pl - src/include/catalog/pablopcatso.pl - src/include/catalog/catalog.h - src/include/catalog/catullus.pl - src/include/catalog/catversion.h - src/include/catalog/dependency.h - src/include/catalog/duplicate_oids - src/include/catalog/genbki.h - src/include/catalog/heap.h - src/include/catalog/index.h - src/include/catalog/indexing.h - src/include/catalog/namespace.h - src/include/catalog/pg_aggregate.h - src/include/catalog/pg_am.h - src/include/catalog/pg_amop.h - src/include/catalog/pg_amproc.h - src/include/catalog/pg_attrdef.h - src/include/catalog/pg_attribute.h - src/include/catalog/pg_attribute_encoding.h - src/include/catalog/pg_auth_members.h - src/include/catalog/pg_auth_time_constraint.h - src/include/catalog/pg_authid.h - src/include/catalog/pg_autovacuum.h - src/include/catalog/pg_cast.h - src/include/catalog/pg_class.h - src/include/catalog/pg_compression.h - src/include/catalog/pg_constraint.h - src/include/catalog/pg_control.h - src/include/catalog/pg_conversion.h - src/include/catalog/pg_database.h - src/include/catalog/pg_depend.h - src/include/catalog/pg_description.h - src/include/catalog/pg_exttable.h - src/include/catalog/pg_filespace.h - src/include/catalog/pg_filespace_entry.h - src/include/catalog/pg_filesystem.h - src/include/catalog/pg_foreign_data_wrapper.h - src/include/catalog/pg_foreign_server.h - src/include/catalog/pg_foreign_table.h - src/include/catalog/pg_index.h - src/include/catalog/pg_inherits.h - src/include/catalog/pg_language.h - src/include/catalog/pg_largeobject.h - src/include/catalog/pg_listener.h - src/include/catalog/pg_namespace.h - src/include/catalog/pg_opclass.h - src/include/catalog/pg_operator.h - src/include/catalog/pg_partition_encoding.h - src/include/catalog/pg_pltemplate.h - src/include/catalog/pg_proc.h - src/include/catalog/pg_proc_callback.h - src/include/catalog/pg_remote_credentials.h - src/include/catalog/pg_resqueue.h - src/include/catalog/pg_rewrite.h - src/include/catalog/pg_shdepend.h - src/include/catalog/pg_shdescription.h - src/include/catalog/pg_statistic.h - src/include/catalog/pg_tablespace.h - src/include/catalog/pg_tidycat.h - src/include/catalog/pg_trigger.h - src/include/catalog/pg_type.h - src/include/catalog/pg_type_encoding.h - src/include/catalog/pg_user_mapping.h - src/include/catalog/pg_window.h src/include/catalog/README.add_catalog_function src/include/catalog/README.tidycat - src/include/catalog/sleazy.pl - src/include/catalog/tidycat.pl - src/include/catalog/toasting.h - src/include/catalog/unused_oids - src/include/cdb/cdbappendonlyam.h - src/include/cdb/cdbgroup.h - src/include/cdb/cdblink.h - src/include/commands/alter.h - src/include/commands/analyzeutils.h - src/include/commands/async.h - src/include/commands/cluster.h - src/include/commands/comment.h - src/include/commands/conversioncmds.h - src/include/commands/copy.h - src/include/commands/dbcommands.h - src/include/commands/defrem.h - src/include/commands/explain.h - src/include/commands/extprotocolcmds.h - src/include/commands/filesystemcmds.h - src/include/commands/lockcmds.h - src/include/commands/portalcmds.h - src/include/commands/prepare.h - src/include/commands/proclang.h - src/include/commands/queue.h - src/include/commands/schemacmds.h - src/include/commands/sequence.h - src/include/commands/tablecmds.h - src/include/commands/tablespace.h - src/include/commands/trigger.h - src/include/commands/typecmds.h - src/include/commands/user.h - src/include/commands/vacuum.h - src/include/commands/variable.h - src/include/commands/version.h - src/include/commands/view.h - src/include/executor/execdebug.h - src/include/executor/execdefs.h - src/include/executor/execdesc.h - src/include/executor/execHHashagg.h - src/include/executor/executor.h - src/include/executor/functions.h - src/include/executor/hashjoin.h - src/include/executor/instrument.h - src/include/executor/nodeAgg.h - src/include/executor/nodeAppend.h - src/include/executor/nodeAppendOnlyscan.h - src/include/executor/nodeBitmapAnd.h - src/include/executor/nodeBitmapAppendOnlyscan.h - src/include/executor/nodeBitmapHeapscan.h - src/include/executor/nodeBitmapIndexscan.h - src/include/executor/nodeBitmapOr.h - src/include/executor/nodeBitmapTableScan.h - src/include/executor/nodeFunctionscan.h - src/include/executor/nodeHash.h - src/include/executor/nodeHashjoin.h - src/include/executor/nodeIndexscan.h - src/include/executor/nodeLimit.h - src/include/executor/nodeMaterial.h - src/include/executor/nodeMergejoin.h - src/include/executor/nodeMotion.h - src/include/executor/nodeNestloop.h - src/include/executor/nodeResult.h - src/include/executor/nodeSeqscan.h - src/include/executor/nodeSetOp.h - src/include/executor/nodeShareInputScan.h - src/include/executor/nodeSort.h - src/include/executor/nodeSubplan.h - src/include/executor/nodeSubqueryscan.h - src/include/executor/nodeTidscan.h - src/include/executor/nodeUnique.h - src/include/executor/nodeValuesscan.h - src/include/executor/spi.h - src/include/executor/spi_priv.h - src/include/executor/tstoreReceiver.h - src/include/executor/tuptable.h - src/include/fmgr.h - src/include/foreign/foreign.h - src/include/fstream/*.h - src/include/funcapi.h - src/include/lib/*.h - src/include/libpq/*.h - src/include/mb/pg_wchar.h - src/include/miscadmin.h - src/include/nodes/*.h - src/include/optimizer/*.h - src/include/parser/*.h - src/include/parser/*.py - src/include/port/**/*.h - src/include/pg*.h - src/include/postgres*.h - src/include/postmaster/*.h - src/include/regex/*.h - src/include/rewrite/*.h - src/include/rusagestub.h - src/include/storage/*.h - src/include/tcop/*.h - src/include/utils/*.h + src/include/pg_config.h.win32 src/interfaces/**/* src/tools/**/* src/tutorial/* src/pl/**/* src/port/* + src/**/Makefile* src/template/* src/test/**/* src/timezone/**/* @@ -513,6 +133,24 @@ tools/bin/postgresql_conf_gp_additions tools/doc/**/* + + + PostgreSQL License + PGSQL + + $PostgreSQL: + PostgreSQL Global Development Group + + + + + + PostgreSQL License + + + Apache License Version 2.0 + + diff --git a/src/backend/access/common/test/tupdesc_test.c b/src/backend/access/common/test/tupdesc_test.c index 7e1f104e06..5d38621d62 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 #include #include diff --git a/src/backend/access/external/url.i b/src/backend/access/external/url.i index d2b4816d50..6b0eb9bff4 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" diff --git a/src/backend/access/transam/gp_distributed_log.c b/src/backend/access/transam/gp_distributed_log.c index 8e21bc954f..7273d84a7d 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" diff --git a/src/backend/access/transam/gp_transaction_log.c b/src/backend/access/transam/gp_transaction_log.c index 83b4afd092..e4dc28db78 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" diff --git a/src/backend/access/transam/test/xact_test.c b/src/backend/access/transam/test/xact_test.c index 2d85f039a7..6fd47c53a1 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 #include #include diff --git a/src/backend/catalog/caql/gram.y b/src/backend/catalog/caql/gram.y index 1350f067e8..6d806ac17e 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 diff --git a/src/backend/catalog/caql/scan.l b/src/backend/catalog/caql/scan.l index 273c11f5a2..f609a959d9 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 diff --git a/src/backend/commands/test/define_test.c b/src/backend/commands/test/define_test.c index b2fec5564d..c456e4bd36 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 #include #include diff --git a/src/backend/executor/test/execAmi_test.c b/src/backend/executor/test/execAmi_test.c index 9947104ebc..1d22ce1296 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 #include #include diff --git a/src/backend/executor/test/execHHashagg_test.c b/src/backend/executor/test/execHHashagg_test.c index 0972ad9c56..a1ef1db279 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 #include #include diff --git a/src/backend/executor/test/execWorkfile_test.c b/src/backend/executor/test/execWorkfile_test.c index 9d95a1fb71..5a279df2b7 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 #include #include diff --git a/src/backend/executor/test/nodeShareInputScan_test.c b/src/backend/executor/test/nodeShareInputScan_test.c index 7bb8b928a2..292def2764 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 #include #include diff --git a/src/backend/executor/test/nodeSubplan_test.c b/src/backend/executor/test/nodeSubplan_test.c index 4786220323..e587767aa1 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 #include #include diff --git a/src/backend/libpq/test/pqcomm_test.c b/src/backend/libpq/test/pqcomm_test.c index 291ffe6e3d..c1df46600e 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 #include #include diff --git a/src/backend/nodes/stack.c b/src/backend/nodes/stack.c index 43ff082b13..daa06d5f73 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 diff --git a/src/backend/nodes/test/list_test.c b/src/backend/nodes/test/list_test.c index ee63c78545..ebfae2320c 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 #include #include diff --git a/src/backend/optimizer/plan/test/createplan_test.c b/src/backend/optimizer/plan/test/createplan_test.c index 4292d00330..4b7af46b45 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 #include #include diff --git a/src/backend/optimizer/plan/transform.c b/src/backend/optimizer/plan/transform.c index a49b7aadc1..5438524513 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 *------------------------------------------------------------------------- */ diff --git a/src/backend/optimizer/util/walkers.c b/src/backend/optimizer/util/walkers.c index ac7349d78a..90d58bc663 100644 --- a/src/backend/optimizer/util/walkers.c +++ b/src/backend/optimizer/util/walkers.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. + */ /* * walkers.c * diff --git a/src/backend/port/dynloader/sco.c b/src/backend/port/dynloader/sco.c index 10e91046bf..a7e0eed653 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 diff --git a/src/backend/port/dynloader/sunos4.c b/src/backend/port/dynloader/sunos4.c index 08dd9746dd..b63c58d0fd 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 diff --git a/src/backend/port/dynloader/svr4.c b/src/backend/port/dynloader/svr4.c index e0f6b6b49d..60a6f56c6e 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 diff --git a/src/backend/port/dynloader/univel.c b/src/backend/port/dynloader/univel.c index 98b6d61d30..4dc97386ee 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 diff --git a/src/backend/port/dynloader/unixware.c b/src/backend/port/dynloader/unixware.c index 0ae1c69dee..111bae8a28 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 diff --git a/src/backend/postmaster/primary_mirror_transition_client.c b/src/backend/postmaster/primary_mirror_transition_client.c index e16e40e965..7777c5ec9b 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 diff --git a/src/backend/postmaster/sendalert_common.h b/src/backend/postmaster/sendalert_common.h index e4ec247ecb..9e02c6d3e4 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 diff --git a/src/backend/storage/file/pipe.c b/src/backend/storage/file/pipe.c index f0c913b716..300a864d0e 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" diff --git a/src/backend/tcop/test/postgres_test.c b/src/backend/tcop/test/postgres_test.c index 8656fb2564..95fae0bce3 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 #include #include diff --git a/src/backend/utils/adt/matrix.c b/src/backend/utils/adt/matrix.c index 40c3a49960..111e526aef 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" diff --git a/src/backend/utils/adt/pivot.c b/src/backend/utils/adt/pivot.c index 7067bf1d75..daade62ca6 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" diff --git a/src/backend/utils/cache/test/inval_test.c b/src/backend/utils/cache/test/inval_test.c index 4e84296c9e..877e8c0d02 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 #include #include diff --git a/src/backend/utils/hash/crc32c.c b/src/backend/utils/hash/crc32c.c index 04b643aeac..7c427a8e12 100644 --- a/src/backend/utils/hash/crc32c.c +++ b/src/backend/utils/hash/crc32c.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. + */ /* * crc32c.c * diff --git a/src/backend/utils/resscheduler/test/memquota_test.c b/src/backend/utils/resscheduler/test/memquota_test.c index 37af09ae6f..f56fb29751 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 #include #include diff --git a/src/backend/utils/sort/logtape.c b/src/backend/utils/sort/logtape.c index 1971220a07..4584af5e3b 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 diff --git a/src/backend/utils/sort/test/string_wrapper_test.c b/src/backend/utils/sort/test/string_wrapper_test.c index 3b81eafd13..477e20de6a 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 #include #include diff --git a/src/backend/utils/sort/tuplestorenew.c b/src/backend/utils/sort/tuplestorenew.c index 3c0ce521e9..df699ffb0b 100644 --- a/src/backend/utils/sort/tuplestorenew.c +++ b/src/backend/utils/sort/tuplestorenew.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. + */ /* * tuplestorenew.c * A better tuplestore diff --git a/src/backend/utils/test/session_state_test.c b/src/backend/utils/test/session_state_test.c index ff4df67178..045d370baf 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 #include #include diff --git a/src/include/access/aosegfiles.h b/src/include/access/aosegfiles.h index 6e22b7156d..c8d3d5ac5b 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 diff --git a/src/include/access/ha_config.h b/src/include/access/ha_config.h index 8f459372ec..a5a01aeb51 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_ diff --git a/src/include/access/libchurl.h b/src/include/access/libchurl.h index 936277fefe..5db2a066f7 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_ diff --git a/src/include/access/parquetmetadata_c++/MetadataInterface.h b/src/include/access/parquetmetadata_c++/MetadataInterface.h index 45dc64db05..92e2c8e1dd 100644 --- a/src/include/access/parquetmetadata_c++/MetadataInterface.h +++ b/src/include/access/parquetmetadata_c++/MetadataInterface.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. + */ /* * MetadataInterface.h * diff --git a/src/include/access/pxfcomutils.h b/src/include/access/pxfcomutils.h index 986754a5c0..7dafcab258 100644 --- a/src/include/access/pxfcomutils.h +++ b/src/include/access/pxfcomutils.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 _PXF_COMUTILS_H_ #define _PXF_COMUTILS_H_ diff --git a/src/include/access/pxfheaders.h b/src/include/access/pxfheaders.h index 28b8ae37cd..13853ab355 100644 --- a/src/include/access/pxfheaders.h +++ b/src/include/access/pxfheaders.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 _PXF_HEADERS_H_ #define _PXF_HEADERS_H_ diff --git a/src/include/access/pxfuriparser.h b/src/include/access/pxfuriparser.h index 4e239a5b0b..2c63ea5341 100644 --- a/src/include/access/pxfuriparser.h +++ b/src/include/access/pxfuriparser.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 _PXF_URIPARSER_H_ #define _PXF_URIPARSER_H_ diff --git a/src/include/access/pxfutils.h b/src/include/access/pxfutils.h index 21f416adf4..ae21c51710 100644 --- a/src/include/access/pxfutils.h +++ b/src/include/access/pxfutils.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 _PXF_UTILS_H_ #define _PXF_UTILS_H_ diff --git a/src/include/catalog/pg_remote_credentials.h b/src/include/catalog/pg_remote_credentials.h index 68ad13fc77..7a3b7fb261 100644 --- a/src/include/catalog/pg_remote_credentials.h +++ b/src/include/catalog/pg_remote_credentials.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 PG_REMOTE_CREDENTIALS_H #define PG_REMOTE_CREDENTIALS_H diff --git a/src/include/commands/extprotocolcmds.h b/src/include/commands/extprotocolcmds.h index 6d683528c6..7559f7cfd4 100644 --- a/src/include/commands/extprotocolcmds.h +++ b/src/include/commands/extprotocolcmds.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. + */ /*------------------------------------------------------------------------- * * extprotocolcmds.h diff --git a/src/include/commands/filesystemcmds.h b/src/include/commands/filesystemcmds.h index 27874a1c33..c1fa6c3329 100644 --- a/src/include/commands/filesystemcmds.h +++ b/src/include/commands/filesystemcmds.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. + */ /*------------------------------------------------------------------------- * * filesystemcmds.h diff --git a/src/include/commands/proclang.h b/src/include/commands/proclang.h index 7f38a8542a..2c355cf900 100644 --- a/src/include/commands/proclang.h +++ b/src/include/commands/proclang.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. + */ /*------------------------------------------------------------------------- * * proclang.h diff --git a/src/include/fstream/fstream.h b/src/include/fstream/fstream.h index 1fb90fdf3c..11a7b5ef48 100644 --- a/src/include/fstream/fstream.h +++ b/src/include/fstream/fstream.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 FSTREAM_H #define FSTREAM_H diff --git a/src/include/fstream/gfile.h b/src/include/fstream/gfile.h index 551cce3ea7..b88485c509 100644 --- a/src/include/fstream/gfile.h +++ b/src/include/fstream/gfile.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 GFILE_H #define GFILE_H diff --git a/src/include/libpq/password_hash.h b/src/include/libpq/password_hash.h index da9b9680c4..d3ddea6362 100644 --- a/src/include/libpq/password_hash.h +++ b/src/include/libpq/password_hash.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. + */ /*------------------------------------------------------------------------- * * password_hash.h diff --git a/src/include/libpq/pg_sha2.h b/src/include/libpq/pg_sha2.h index 17b7669183..fdcee3cfc6 100644 --- a/src/include/libpq/pg_sha2.h +++ b/src/include/libpq/pg_sha2.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. + */ #define SHA256_PREFIX "sha256" #define SHA256_PASSWD_LEN strlen(SHA256_PREFIX) + 64 diff --git a/src/include/optimizer/planpartition.h b/src/include/optimizer/planpartition.h index 0a0f46aa83..2e8972c569 100644 --- a/src/include/optimizer/planpartition.h +++ b/src/include/optimizer/planpartition.h @@ -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. + */ /*------------------------------------------------------------------------- * * planpartition.h * Transforms to produce plans that achieve dynamic partition elimination. * - * Portions Copyright (c) 2011-2013, EMC Corporation * Author: Siva *------------------------------------------------------------------------- */ diff --git a/src/include/optimizer/transform.h b/src/include/optimizer/transform.h index 8cc6a2bbc4..4c430bfd72 100644 --- a/src/include/optimizer/transform.h +++ b/src/include/optimizer/transform.h @@ -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.h * Query transformation routines * - * Portions Copyright (c) 2011-2013, EMC Corporation * Author: Siva *------------------------------------------------------------------------- */ diff --git a/src/include/optimizer/walkers.h b/src/include/optimizer/walkers.h index 6d51b314fc..c6bb2f7fa3 100644 --- a/src/include/optimizer/walkers.h +++ b/src/include/optimizer/walkers.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. + */ /* * walkers.h * diff --git a/src/include/port/bsdi.h b/src/include/port/bsdi.h index 8b13789179..042f3ce1f3 100644 --- a/src/include/port/bsdi.h +++ b/src/include/port/bsdi.h @@ -1 +1,18 @@ - +/* + * 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. + */ diff --git a/src/include/port/sco.h b/src/include/port/sco.h index b4e975c89d..7d84b96123 100644 --- a/src/include/port/sco.h +++ b/src/include/port/sco.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. + */ /* see src/backend/libpq/pqcomm.c */ #define SCO_ACCEPT_BUG diff --git a/src/include/port/sunos4.h b/src/include/port/sunos4.h index f7545fc6fa..361e660736 100644 --- a/src/include/port/sunos4.h +++ b/src/include/port/sunos4.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. + */ /* sprintf() returns char *, not int, on SunOS 4.1.x */ #define SPRINTF_CHAR diff --git a/src/include/port/svr4.h b/src/include/port/svr4.h index 2c38612c4d..9f072f32cb 100644 --- a/src/include/port/svr4.h +++ b/src/include/port/svr4.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 BYTE_ORDER #ifdef MIPSEB #define BYTE_ORDER BIG_ENDIAN diff --git a/src/include/port/ultrix4.h b/src/include/port/ultrix4.h index c199afcbea..cbd9377df6 100644 --- a/src/include/port/ultrix4.h +++ b/src/include/port/ultrix4.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. + */ #define NOFIXADE #define NEED_STRDUP diff --git a/src/include/port/univel.h b/src/include/port/univel.h index d94e7f263b..4ad41afe3d 100644 --- a/src/include/port/univel.h +++ b/src/include/port/univel.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. + */ /*************************************** * Define this if you are compiling with * the native UNIXWARE C compiler. diff --git a/src/include/port/unixware.h b/src/include/port/unixware.h index aef4716698..f860581196 100644 --- a/src/include/port/unixware.h +++ b/src/include/port/unixware.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. + */ /* see src/backend/libpq/pqcomm.c */ #define SCO_ACCEPT_BUG diff --git a/src/include/port/win32/sys/mman.h b/src/include/port/win32/sys/mman.h index a9a837bc4d..7d91f21f60 100644 --- a/src/include/port/win32/sys/mman.h +++ b/src/include/port/win32/sys/mman.h @@ -1,7 +1,25 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ #ifndef PROT_READ #define PROT_READ 0x1 /* Page can be read. */ #define PROT_WRITE 0x2 /* Page can be written. */ #define PROT_EXEC 0x4 /* Page can be executed. */ #define PROT_NONE 0x0 /* Page can not be accessed. */ #endif -#define mprotect(x,y,z) (false) \ No newline at end of file +#define mprotect(x,y,z) (false) diff --git a/src/include/port/win32/sys/resource.h b/src/include/port/win32/sys/resource.h index 0519ecba6e..042f3ce1f3 100644 --- a/src/include/port/win32/sys/resource.h +++ b/src/include/port/win32/sys/resource.h @@ -1 +1,18 @@ - \ No newline at end of file +/* + * 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. + */ diff --git a/src/include/postmaster/sendalert.h b/src/include/postmaster/sendalert.h index c7aedbdf9f..0f3c42d018 100644 --- a/src/include/postmaster/sendalert.h +++ b/src/include/postmaster/sendalert.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_H #define _SENDALERT_H diff --git a/src/include/storage/lockrmgr.h b/src/include/storage/lockrmgr.h index 8be8049e90..f3214b4d42 100644 --- a/src/include/storage/lockrmgr.h +++ b/src/include/storage/lockrmgr.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. + */ /*------------------------------------------------------------------------- * * lockrmgr.h diff --git a/src/include/storage/pipe.h b/src/include/storage/pipe.h index 4bfd34212f..36f6c23c32 100644 --- a/src/include/storage/pipe.h +++ b/src/include/storage/pipe.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 PIPE_H #define PIPE_H diff --git a/src/include/utils/cash.h b/src/include/utils/cash.h index 193fe9aab5..07d53a7cf3 100644 --- a/src/include/utils/cash.h +++ b/src/include/utils/cash.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. + */ /* * cash.h * Written by D'Arcy J.M. Cain diff --git a/src/include/utils/segadmin.h b/src/include/utils/segadmin.h index 6fbd722305..e127eb7698 100644 --- a/src/include/utils/segadmin.h +++ b/src/include/utils/segadmin.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. + */ /*-------------------------------------------------------------------- * segadmin.h * diff --git a/src/include/utils/tuplestorenew.h b/src/include/utils/tuplestorenew.h index 8c320583e1..85c6f959f1 100644 --- a/src/include/utils/tuplestorenew.h +++ b/src/include/utils/tuplestorenew.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. + */ /* * tuplestorenew.h * A better tuple store