mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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:
@@ -70,7 +70,8 @@ export async function getMappingColumns(
|
||||
const canBeUsedToMatch =
|
||||
operation === 'upsert' ? unique.some((u) => u.attname === col.column_name) : true;
|
||||
const type = mapPostgresType(col.data_type);
|
||||
const options = type === 'options' ? getEnumValues(enumInfo, col.udt_name) : undefined;
|
||||
const options =
|
||||
type === 'options' ? getEnumValues(enumInfo, col.udt_name as string) : undefined;
|
||||
const isAutoIncrement = col.column_default?.startsWith('nextval');
|
||||
return {
|
||||
id: col.column_name,
|
||||
|
||||
Reference in New Issue
Block a user