sftpgo/dataprovider/pgsql_disabled.go
2020-06-19 17:08:51 +02:00

17 lines
245 B
Go

// +build nopgsql
package dataprovider
import (
"errors"
"github.com/drakkan/sftpgo/version"
)
func init() {
version.AddFeature("-pgsql")
}
func initializePGSQLProvider() error {
return errors.New("PostgreSQL disabled at build time")
}