src/bin/pgrunner.js
function strip_server_opts (old_opts) {
	debug.assert(old_opts).is('object');
	let opts = {};
	['pgconfig', 'host', 'port', 'user', 'database'].forEach(key => {
		if (old_opts[key] !== undefined) {
			opts[key] = old_opts[key];
		}
	});
	return opts;
}
function strip_server_opts (old_opts) {
	debug.assert(old_opts).is('object');
	let opts = {};
	['pgconfig', 'host', 'port', 'user', 'database'].forEach(key => {
		if (old_opts[key] !== undefined) {
			opts[key] = old_opts[key];
		}
	});
	return opts;
}
Strip keys

@param old_opts