Removes extra d in delimiter 155

This commit is contained in:
Guido Fioravantti
2015-10-30 17:49:27 +01:00
parent e99231252e
commit 453b3af872
3 changed files with 12 additions and 1 deletions

View File

@@ -166,7 +166,7 @@ BEGIN
AS seq INTO rec2;
-- Reset sequence name
sql := Format('ALTER SEQUENCE %s RESTART WITH %d', rec2.seq::text, rec.max + 1);
sql := Format('ALTER SEQUENCE %s RESTART WITH %', rec2.seq::text, rec.max + 1);
RAISE DEBUG 'Running %', sql;
EXECUTE sql;