SYNC: pgdump custom args

This commit is contained in:
SPRINX0\prochazka
2025-04-09 13:13:16 +02:00
committed by Diflow
parent 3d8c732258
commit f0f5558f3e

View File

@@ -267,6 +267,11 @@ EXECUTE FUNCTION function_name();`,
name: 'noOwner',
default: false,
},
{
type: 'text',
label: 'Custom arguments',
name: 'customArgs',
},
];
}
return null;
@@ -304,6 +309,10 @@ EXECUTE FUNCTION function_name();`,
);
}
}
if (options.customArgs?.trim()) {
const customArgs = options.customArgs.split(/\s+/).filter(arg => arg.trim() != '');
args.push(...customArgs);
}
return {
command,