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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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

Coverage Status

coverage: 56.33% (-0.005%) from 56.335%
when pulling d6df9bf on blaberg:lowercase-current-schema
into 04b36eb on golang-migrate:master.

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.

None yet

2 participants