Support ON UPDATE SET DEFAULT and the same for ON DELETE in PostgreSQL foreign keys. See https://www.heidisql.com/forum.php?t=40413

This commit is contained in:
Ansgar Becker
2023-03-06 20:12:13 +01:00
parent 0fedb314eb
commit 82b1a0fe8f
2 changed files with 4 additions and 2 deletions

View File

@ -2645,7 +2645,7 @@ begin
end;
4, 5: begin
EnumEditor := TEnumEditorLink.Create(VT, True, nil);
EnumEditor.ValueList.Text := 'RESTRICT'+CRLF+'CASCADE'+CRLF+'SET NULL'+CRLF+'NO ACTION';
EnumEditor.ValueList := Explode(',', DBObject.Connection.GetSQLSpecifity(spForeignKeyEventAction));
EditLink := EnumEditor;
end;
end;