Skip to content

Commit b57a3d5

Browse files
committed
try to pin pg to 8.2 and add logging ... should break
1 parent 21a972c commit b57a3d5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

main.js

+1
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ function connect(callback) {
377377
}
378378

379379
// connect first to DB postgres and create iobroker DB
380+
adapter.log.info('Postgres connection options: ' + JSON.stringify(params));
380381
_client = new SQL[clients[adapter.config.dbtype].name](params);
381382
_client.on && _client.on('error', err =>
382383
adapter.log.warn('SQL client error: ' + err));

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"optionalDependencies": {
2424
"mysql": "^2.18.1",
25-
"pg": "8.0.3",
25+
"pg": "8.2.2",
2626
"sqlite3": "^5.0.0",
2727
"mssql": "^6.2.0"
2828
},

0 commit comments

Comments
 (0)