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

Support for system schema #2471

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

Support for system schema #2471

wants to merge 2 commits into from

Conversation

tbantle22
Copy link
Contributor

Allows configuring system schema, to support additional databases similar to information_schema. Will be used to support pg_catalog for doltgres

@tbantle22 tbantle22 marked this pull request as ready for review April 26, 2024 17:07
@tbantle22 tbantle22 closed this Jun 3, 2024
@Hydrocharged Hydrocharged deleted the taylor/system-schema branch June 4, 2024 07:37
@tbantle22 tbantle22 restored the taylor/system-schema branch June 5, 2024 18:20
@tbantle22 tbantle22 reopened this Jun 5, 2024
StatsProvider sql.StatsProvider
MySQLDb *mysql_db.MySQLDb
InfoSchema sql.Database
SystemSchemaConfig *sql.SystemSchemaConfig
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine for the time being, but ideally GMS wouldn't not need to treat the pg_catalog schema differently from any other database it handles. We could handle all of this on the Dolt / Doltgres side (new database provider that knows about the pg_catalog database), it's just currently difficult to plumb the necessary information through when building the engine.

But that's hard to do, and I don't have an issue with doing this as a quick fix.

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