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

make pg_table_metadata CockroachDB compatible #7788

Closed
wants to merge 1 commit into from

Conversation

otan
Copy link
Contributor

@otan otan commented Nov 8, 2021

Description

CockroachDB doesn't support index as a table alias, but PostgreSQL
does. Since idx is supported by both, change the metadata query
accordingly.

Changelog

No changelog required, but can't set a label.

  • CHANGELOG.md is updated with user-facing content relevant to this PR. If no changelog is required, then add the no-changelog-required label.

Affected components

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System
  • Tests
  • Other (list it)

Related Issues

Refs cockroachdb/cockroach#72407

Solution and Design

See description.

Steps to test and verify

Existing tests should pass.

@otan otan requested a review from a team as a code owner November 8, 2021 21:50
@hasura-bot
Copy link
Contributor

Beep boop! 🤖

Hey @otan, thanks for your PR!

One of my human friends will review this PR and get back to you as soon as possible.

Stay awesome! 😎

@CLAassistant
Copy link

CLAassistant commented Nov 8, 2021

CLA assistant check
All committers have signed the CLA.

CockroachDB doesn't support `index` as a table alias, but PostgreSQL
does. Since `idx` is supported by both, change the metadata query
accordingly.

Refs cockroachdb/cockroach#72407
@netlify
Copy link

netlify bot commented Nov 8, 2021

✔️ Deploy Preview for hasura-docs ready!

🔨 Explore the source changes: f9d2033

🔍 Inspect the deploy log: https://app.netlify.com/sites/hasura-docs/deploys/61899ba915a29900071659fd

😎 Browse the preview: https://deploy-preview-7788--hasura-docs.netlify.app

@netlify
Copy link

netlify bot commented Nov 8, 2021

✔️ Deploy Preview for hasura-docs ready!

🔨 Explore the source changes: 84dbcec

🔍 Inspect the deploy log: https://app.netlify.com/sites/hasura-docs/deploys/61899c069d74450007f8fb47

😎 Browse the preview: https://deploy-preview-7788--hasura-docs.netlify.app

@rikinsk rikinsk added the c/server Related to server label Nov 25, 2021
@jberryman
Copy link
Collaborator

This fell through the review cracks, I'm sorry! Thanks for the contribution, it looks good to me and we'll try to get it through today.

@hasura-bot
Copy link
Contributor

Beep boop! 🤖

GIF

Awesome work @otan!

Your changes were merged successfully. All of us at Hasura ❤️ what you did.

Thanks again 🤗

hasura-bot added a commit that referenced this pull request Dec 7, 2021
GITHUB_PR_NUMBER: 7788
GITHUB_PR_URL: #7788

PR-URL: hasura/graphql-engine-mono#2805
Co-authored-by: Oliver Tan <[email protected]>
GitOrigin-RevId: 9de4ddc
@otan
Copy link
Contributor Author

otan commented Dec 7, 2021

cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/server Related to server merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants