sftpgo-mirror/dataprovider/pgsql_disabled.go
2021-06-26 07:31:41 +02:00

17 lines
248 B
Go

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