{"modulePath":"github.com/unity-technologies/migrate","version":"v3.5.4+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package redshift\n\n## Types\n\n```go\ntype Redshift struct {\n\t// The wrapped PostgreSQL driver.\n\tdatabase.Driver\n}\n```\nRedshift is a wrapper around the PostgreSQL driver which implements Redshift-specific behavior.\n\nCurrently, the only different behaviour is the lack of locking in Redshift.  The (Un)Lock() method(s) have been overridden from the PostgreSQL adapter to simply return nil.\n\n```go\nfunc (driver *Redshift) Lock() error\n```\nLock implements the database.Driver interface by not locking and returning nil.\n\n```go\nfunc (driver *Redshift) Open(dsn string) (database.Driver, error)\n```\nOpen implements the database.Driver interface by parsing the URL, switching the scheme from \"redshift\" to \"postgres\", and delegating to the underlying PostgreSQL driver.\n\n```go\nfunc (driver *Redshift) Unlock() error\n```\nUnlock implements the database.Driver interface by not unlocking and returning nil.\n\n","path":"github.com/unity-technologies/migrate/database/redshift","name":"redshift","synopsis":"","isRedistributable":true}
