8000 AWS Aurora DSQL support · Issue #1289 · golang-migrate/migrate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
AWS Aurora DSQL support #1289
Open
Open
@eliasbrange

Description

@eliasbrange

The postgres driver doesn't play nice with the newly GAed AWS Aurora DSQL.

While DSQL is based on Postgres, there are many things that aren't supported. One thing that isn't supported is locks, which is used in migrate by the postgres driver.

This causes migrations to fail with:

$ migrate -database "$DATABASE_URL" -path db/migrations up

error: failed to open database: try lock failed in line 0: SELECT pg_advisory_lock($1) (details: pq: function pg_advisory_lock not supported)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0