mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 05:36:00 +00:00
defined logger caller
This commit is contained in:
@@ -7,7 +7,7 @@ const pg = require('pg');
|
||||
const { createBulkInsertStreamBase, makeUniqueColumnNames } = require('dbgate-tools');
|
||||
const { getLogger } = global.DBGATE_TOOLS;
|
||||
|
||||
const logger = getLogger();
|
||||
const logger = getLogger('postreDriver');
|
||||
|
||||
pg.types.setTypeParser(1082, 'text', val => val); // date
|
||||
pg.types.setTypeParser(1114, 'text', val => val); // timestamp without timezone
|
||||
|
||||
Reference in New Issue
Block a user