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

use lowercase current_schema() method to support PgAdapter for GCP Spanner #1086

Closed

Conversation

blaberg
Copy link

@blaberg blaberg commented May 14, 2024

Hi!

We I have been experimenting with using the Postgres adapter for GCP Spanner that would let you use Postgres tools to interact with Spanner. However, it only supports the lowercase version of CURRENT_SCHEMA(), which is used in the migration. This PR simply changes the function to the lowercase one. This will not effect any Postgres functionality, but will let people use the Postgres Adapter for Spanner.

@coveralls
Copy link

coveralls commented May 14, 2024

Coverage Status

coverage: 56.313% (-0.006%) from 56.319%
when pulling 761152e on blaberg:lowercase-current-schema
into 555501f on golang-migrate:master.

@blaberg blaberg force-pushed the lowercase-current-schema branch from d6df9bf to 761152e Compare September 18, 2024 11:31
@blaberg blaberg closed this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants