Unlock in postgres db driver should also use the schema name

This commit is contained in:
Dale Hui 2018-11-14 02:18:57 -08:00
parent f38fe38d45
commit 6ebc6c7dae
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ func (p *Postgres) Unlock() error {
return nil
}
aid, err := database.GenerateAdvisoryLockId(p.config.DatabaseName)
aid, err := database.GenerateAdvisoryLockId(p.config.DatabaseName, p.config.SchemaName)
if err != nil {
return err
}