mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 07:30:25 +00:00
18 lines
267 B
Go
18 lines
267 B
Go
//go:build nopgsql
|
|
// +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")
|
|
}
|