Skip to content

Commit a3acc04

Browse files
committed
fix: prevent SQL delimiter being set to PostgreSQL quotes
1 parent 571c671 commit a3acc04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/main.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5269,7 +5269,7 @@ procedure TMainForm.SetDelimiter(Value: String);
52695269
Msg := _('Empty value.')
52705270
else begin
52715271
rx := TRegExpr.Create;
5272-
rx.Expression := '(/\*|--|#|\''|\"|`)';
5272+
rx.Expression := '(/\*|--|#|\''|\"|`|\$\$)';
52735273
if rx.Exec(Value) then
52745274
Msg := _('Start-of-comment tokens or string literal markers are not allowed.')
52755275
end;

0 commit comments

Comments
 (0)