Skip to content

Commit

Permalink
License header change
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrarahmad committed Sep 30, 2014
1 parent 0223b23 commit 9da15a0
Show file tree
Hide file tree
Showing 9 changed files with 71 additions and 26 deletions.
17 changes: 17 additions & 0 deletions config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*-------------------------------------------------------------------------
*
* config.h
* Foreign-data wrapper for remote MongoDB servers
*
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
*
* Portions Copyright (c) 2004-2014, EnterpriseDB Corporation.
*
* Portions Copyright (c) 2012–2014 Citus Data, Inc.
*
* IDENTIFICATION
* config.h
*
*-------------------------------------------------------------------------
*/

/*
* Define if you want to compile the MongoFDW with Meta C Driver, otherwise
* it will compile using MongoDB legacy C Driver
Expand Down
11 changes: 7 additions & 4 deletions mongo_fdw.c
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
/*-------------------------------------------------------------------------
*
* mongo_fdw.c
* Foreign-data wrapper for remote MongoDB servers
*
* Function definitions for MongoDB foreign data wrapper. These functions access
* data stored in MongoDB through the official C driver.
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
*
* Portions Copyright © 2004-2014, EnterpriseDB Corporation.
* Portions Copyright (c) 2004-2014, EnterpriseDB Corporation.
*
* Portions Copyright © 2012–2014 Citus Data, Inc.
* Portions Copyright (c) 2012–2014 Citus Data, Inc.
*
* IDENTIFICATION
* mongo_fdw.c
*
*-------------------------------------------------------------------------
*/
Expand Down
9 changes: 6 additions & 3 deletions mongo_fdw.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
/*-------------------------------------------------------------------------
*
* mongo_fdw.h
* Foreign-data wrapper for remote MongoDB servers
*
* Type and function declarations for MongoDB foreign data wrapper.
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
*
* Portions Copyright © 2004-2014, EnterpriseDB Corporation.
* Portions Copyright (c) 2004-2014, EnterpriseDB Corporation.
*
* Portions Copyright © 2012–2014 Citus Data, Inc.
* Portions Copyright (c) 2012–2014 Citus Data, Inc.
*
* IDENTIFICATION
* mongo_fdw.h
*
*-------------------------------------------------------------------------
*/
Expand Down
11 changes: 6 additions & 5 deletions mongo_query.c
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
/*-------------------------------------------------------------------------
*
* mongo_query.c
* Foreign-data wrapper for remote MongoDB servers
*
* Function definitions for sending queries to MongoDB. These functions assume
* that queries are sent through the official MongoDB C driver, and apply query
* optimizations to reduce the amount of data fetched from the driver.
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
*
* Portions Copyright © 2004-2014, EnterpriseDB Corporation.
* Portions Copyright (c) 2004-2014, EnterpriseDB Corporation.
*
* Portions Copyright © 2012–2014 Citus Data, Inc.
* Portions Copyright (c) 2012–2014 Citus Data, Inc.
*
* IDENTIFICATION
* mongo_query.c
*
*-------------------------------------------------------------------------
*/
Expand Down
9 changes: 6 additions & 3 deletions mongo_query.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
/*-------------------------------------------------------------------------
*
* mongo_query.h
* Foreign-data wrapper for remote MongoDB servers
*
* Type and function declarations for constructing queries to send to MongoDB.
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
*
* Portions Copyright © 2004-2014, EnterpriseDB Corporation.
* Portions Copyright (c) 2004-2014, EnterpriseDB Corporation.
*
* Portions Copyright © 2012–2014 Citus Data, Inc.
* Portions Copyright (c) 2012–2014 Citus Data, Inc.
*
* IDENTIFICATION
* mongo_query.h
*
*-------------------------------------------------------------------------
*/
Expand Down
9 changes: 6 additions & 3 deletions mongo_wrapper.c
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
/*-------------------------------------------------------------------------
*
* mongo_wrapper.c
* Foreign-data wrapper for remote MongoDB servers
*
* Wrapper functions for MongoDB's old legacy Driver.
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
*
* Portions Copyright © 2004-2014, EnterpriseDB Corporation.
* Portions Copyright (c) 2004-2014, EnterpriseDB Corporation.
*
* Portions Copyright © 2012–2014 Citus Data, Inc.
* Portions Copyright (c) 2012–2014 Citus Data, Inc.
*
* IDENTIFICATION
* mongo_wrapper.c
*
*-------------------------------------------------------------------------
*/
Expand Down
11 changes: 10 additions & 1 deletion mongo_wrapper.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
/*-------------------------------------------------------------------------
*
* mongo_wrapper.h
* Foreign-data wrapper for remote MongoDB servers
*
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
*
* Portions Copyright (c) 2004-2014, EnterpriseDB Corporation.
*
* Portions Copyright (c) 2012–2014 Citus Data, Inc.
*
* IDENTIFICATION
* mongo_wrapper.h
*
*-------------------------------------------------------------------------
*/

#ifndef MONGO_WRAPPER_H
#define MONGO_WRAPPER_H

Expand Down
10 changes: 7 additions & 3 deletions mongo_wrapper_meta.c
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
/*-------------------------------------------------------------------------
*
* mongo_wrapper_meta.c
* Foreign-data wrapper for remote MongoDB servers
*
* Wrapper functions for MongoDB's new Meta Driver.
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
*
* Portions Copyright © 2004-2014, EnterpriseDB Corporation.
* Portions Copyright (c) 2004-2014, EnterpriseDB Corporation.
*
* Portions Copyright © 2012–2014 Citus Data, Inc.
* Portions Copyright (c) 2012–2014 Citus Data, Inc.
*
* IDENTIFICATION
* mongo_wrapper_meta.c
*
*-------------------------------------------------------------------------
*/


#include "postgres.h"
#include <mongoc.h>

Expand Down
10 changes: 6 additions & 4 deletions option.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
/*-------------------------------------------------------------------------
*
* option.c
* Foreign-data wrapper for remote MongoDB servers
*
* Function definitions for MongoDB foreign data wrapper. These functions access
* data stored in MongoDB through the official C driver.
* Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
*
* Portions Copyright © 2004-2014, EnterpriseDB Corporation.
* Portions Copyright (c) 2004-2014, EnterpriseDB Corporation.
*
* Portions Copyright © 2012–2014 Citus Data, Inc.
* Portions Copyright (c) 2012–2014 Citus Data, Inc.
*
* IDENTIFICATION
* option.c
*
*-------------------------------------------------------------------------
*/
Expand Down

0 comments on commit 9da15a0

Please sign in to comment.