Resolve merge conflict in PR #1041 (#1065)

* Add license comment

* Delete pool.js
This commit is contained in:
Illirik Smirnov 2016-06-24 11:56:43 -04:00 committed by Brian C
parent c35adf6f68
commit 522d62229b
12 changed files with 96 additions and 0 deletions

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var crypto = require('crypto');
var EventEmitter = require('events').EventEmitter;
var util = require('util');

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var url = require('url');
var dns = require('dns');

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var net = require('net');
var EventEmitter = require('events').EventEmitter;
var util = require('util');

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var defaults = module.exports = {
// database host. defaults to localhost
host: 'localhost',

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var EventEmitter = require('events').EventEmitter;
var util = require('util');
var Client = require('./client');

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var Native = require('pg-native');
var TypeOverrides = require('../type-overrides');
var semver = require('semver');

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var EventEmitter = require('events').EventEmitter;
var util = require('util');
var utils = require('../utils');

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var NativeResult = module.exports = function(pq) {
this.command = null;
this.rowCount = 0;

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var EventEmitter = require('events').EventEmitter;
var util = require('util');

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var types = require('pg-types');
//result object returned from query

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var types = require('pg-types');
function TypeOverrides(userTypes) {

View File

@ -1,3 +1,11 @@
/**
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* README.md file in the root directory of this source tree.
*/
var defaults = require('./defaults');
// convert a JS array to a postgres array literal