func Setup(mgr ctrl.Manager, l logging.Logger) error {
	for _, setup := range []func(ctrl.Manager, logging.Logger) error{
		mysql.Setup,
		postgresql.Setup,
	} {
		if err := setup(mgr, l); err != nil {
			return err
		}
	}
	return nil
}
Setup creates all PostgreSQL controllers with the supplied logger and adds
them to the supplied manager.
package controller
import (
	ctrl "sigs.k8s.io/controller-runtime"
	"github.com/crossplane/crossplane-runtime/pkg/logging"
	"github.com/crossplane-contrib/provider-sql/pkg/controller/mysql"
	"github.com/crossplane-contrib/provider-sql/pkg/controller/postgresql"
)