Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Redshift support #661

Closed
YiyuJia opened this issue Dec 12, 2013 · 3 comments
Closed

AWS Redshift support #661

YiyuJia opened this issue Dec 12, 2013 · 3 comments

Comments

@YiyuJia
Copy link

YiyuJia commented Dec 12, 2013

Hi, I tried to use flywayDB with Amazon Redshift. But, it does not work.

There is no problem for us to use PostgreSQL JDBC driver to connect with Redshift. But, I am failure when I connect flywayDB with Redshift as if redshift is a postgreSQL.

I forked flywaydb source code. and found out it because flyway postgresql support uses some SQL feature and system tables that Redshift does not support now.

I feel it will not be difficult to add support to Redshift with postgreSQL support as a reference.

Will anybody here to work on it? I can do it too with some support from here.

thanks and regards,

Yiyu

@axelfontaine
Copy link
Contributor

Sure, it shouldn't be that far off. Redshift is based on a stone age version of Postgres (8.0, released 9 years ago!!!). Flyway's Postgres support has been geared at Postgres 9.0 and up.

You can start by implementing DbSupport for Postgres 8.x by using the Postgres 9.x support (https://github.com/flyway/flyway/tree/master/flyway-core/src/main/java/com/googlecode/flyway/core/dbsupport/postgresql) as a base.

Don't forget to make the MigrationTestCase run with Postgres 8.x as well.

Pull request welcome.

Cheers
Axel

@jrochette
Copy link

Hi,

Has there been any progress on this issue? I am very interested in that feature.

Thanks!
Jonathan

@axelfontaine
Copy link
Contributor

Not that I'm aware of. Do you want to contribute a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants