package redshift
import "github.com/golang-migrate/migrate/v4/database/redshift"
Index ¶
Types ¶
type Redshift ¶
Redshift is a wrapper around the PostgreSQL driver which implements Redshift-specific behavior.
Currently, 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.
func (*Redshift) Lock ¶
Lock implements the database.Driver interface by not locking and returning nil.
func (*Redshift) Open ¶
Open implements the database.Driver interface by parsing the URL, switching the scheme from "redshift" to "postgres", and delegating to the underlying PostgreSQL driver.
func (*Redshift) Unlock ¶
Unlock implements the database.Driver interface by not unlocking and returning nil.
Source Files ¶
- Version
- v4.0.1
- Published
- Oct 15, 2018
- Platform
- darwin/amd64
- Imports
- 3 packages
- Last checked
- 1 hour ago –
Tools for package owners.