feat: add schedulerEvents to tools

This commit is contained in:
Nybkox
2025-01-03 15:02:03 +01:00
parent 0ffe2d8811
commit e73356c8da
2 changed files with 13 additions and 5 deletions

View File

@@ -708,6 +708,8 @@ export class SqlDumper implements AlterProcessor {
return 'TRIGGER';
case 'matviews':
return 'MATERIALIZED VIEW';
case 'schedulerEvents':
return 'EVENT';
}
}
@@ -785,10 +787,7 @@ export class SqlDumper implements AlterProcessor {
}
callableTemplate(func: CallableObjectInfo) {
this.put(
'^call %f(&>&n',
func,
);
this.put('^call %f(&>&n', func);
this.putCollection(',&n', func.parameters || [], param => {
this.putRaw(param.parameterMode == 'IN' ? ':' + param.parameterName : param.parameterName);