Distinguish between multiple stored procedures with different argument list, on PostgreSQL. Closes #58.

This commit is contained in:
Ansgar Becker
2018-04-09 22:17:04 +02:00
parent 7e28c51e3b
commit 8202e76b92
3 changed files with 54 additions and 45 deletions

View File

@ -130,7 +130,7 @@ begin
rx.ModifierI := True;
rx.Expression := 'FOR\s+EACH\s+ROW\s+(.+)$';
try
Body := DBObject.Connection.GetCreateCode(DBObject.Database, DBObject.Schema, DBObject.Name, lntTrigger);
Body := DBObject.Connection.GetCreateCode(DBObject);
if rx.Exec(Body) then
Body := rx.Match[1]
else