mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Postgres Node): Connection pool of the database object has been destroyed (#7074)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -89,7 +89,7 @@ describe('Test PostgresV2, deleteTable operation', () => {
|
||||
},
|
||||
],
|
||||
},
|
||||
options: {},
|
||||
options: { typeVersion: 2.1 },
|
||||
};
|
||||
const nodeOptions = nodeParameters.options as IDataObject;
|
||||
|
||||
@@ -168,7 +168,7 @@ describe('Test PostgresV2, deleteTable operation', () => {
|
||||
cachedResultName: 'my_table',
|
||||
},
|
||||
deleteCommand: 'drop',
|
||||
options: {},
|
||||
options: { typeVersion: 2.1 },
|
||||
};
|
||||
const nodeOptions = nodeParameters.options as IDataObject;
|
||||
|
||||
@@ -256,7 +256,7 @@ describe('Test PostgresV2, insert operation', () => {
|
||||
},
|
||||
],
|
||||
},
|
||||
options: {},
|
||||
options: { typeVersion: 2.1 },
|
||||
};
|
||||
const columnsInfo: ColumnInfo[] = [
|
||||
{ column_name: 'id', data_type: 'integer', is_nullable: 'NO', udt_name: '' },
|
||||
@@ -299,7 +299,7 @@ describe('Test PostgresV2, insert operation', () => {
|
||||
mode: 'list',
|
||||
},
|
||||
dataMode: 'autoMapInputData',
|
||||
options: {},
|
||||
options: { typeVersion: 2.1 },
|
||||
};
|
||||
const columnsInfo: ColumnInfo[] = [
|
||||
{ column_name: 'id', data_type: 'integer', is_nullable: 'NO', udt_name: '' },
|
||||
@@ -509,6 +509,7 @@ describe('Test PostgresV2, update operation', () => {
|
||||
},
|
||||
options: {
|
||||
outputColumns: ['json', 'foo'],
|
||||
typeVersion: 2.1,
|
||||
},
|
||||
};
|
||||
const columnsInfo: ColumnInfo[] = [
|
||||
@@ -565,7 +566,7 @@ describe('Test PostgresV2, update operation', () => {
|
||||
},
|
||||
dataMode: 'autoMapInputData',
|
||||
columnToMatchOn: 'id',
|
||||
options: {},
|
||||
options: { typeVersion: 2.1 },
|
||||
};
|
||||
const columnsInfo: ColumnInfo[] = [
|
||||
{ column_name: 'id', data_type: 'integer', is_nullable: 'NO', udt_name: '' },
|
||||
@@ -668,6 +669,7 @@ describe('Test PostgresV2, upsert operation', () => {
|
||||
},
|
||||
options: {
|
||||
outputColumns: ['json'],
|
||||
typeVersion: 2.1,
|
||||
},
|
||||
};
|
||||
const columnsInfo: ColumnInfo[] = [
|
||||
@@ -724,7 +726,7 @@ describe('Test PostgresV2, upsert operation', () => {
|
||||
},
|
||||
dataMode: 'autoMapInputData',
|
||||
columnToMatchOn: 'id',
|
||||
options: {},
|
||||
options: { typeVersion: 2.1 },
|
||||
};
|
||||
const columnsInfo: ColumnInfo[] = [
|
||||
{ column_name: 'id', data_type: 'integer', is_nullable: 'NO', udt_name: '' },
|
||||
|
||||
Reference in New Issue
Block a user