HHH-11016 - Added 'if exists' for sequence drop statements for PostgreSQL82 and derivatives.

This commit is contained in:
Chris Cranford 2016-08-01 22:38:28 -05:00
parent f5bb3bac38
commit 5eacf421fb
1 changed files with 5 additions and 0 deletions

View File

@ -51,4 +51,9 @@ public class PostgreSQL82Dialect extends PostgreSQL81Dialect {
null
);
}
@Override
public String getDropSequenceString(String sequenceName) {
return "drop sequence if exists " + sequenceName;
}
}