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

randgen: fix postgres mutator for session vars #82548

Merged
merged 3 commits into from
Jun 13, 2022

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented Jun 7, 2022

fixes #67791

Release note: None

@rafiss rafiss requested a review from a team June 7, 2022 20:52
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@@ -832,6 +833,8 @@ func postgresCreateTableMutator(
}
}
stmt.Defs = newdefs
case *tree.SetVar:

Copy link
Contributor

Choose a reason for hiding this comment

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

hmm, does this mean we lose out on stuff like SET intervalstyle = '...', and do we (deliberately) want to do that?

rafiss added 3 commits June 9, 2022 16:53
We support enough of these extensions that we should start allowing
these statements, similar to how we did for pg_trgm.

Release note: None
@rafiss rafiss force-pushed the fix-postgres-mutator branch from ab9529f to 154f5e1 Compare June 9, 2022 23:26
@rafiss rafiss requested a review from a team June 9, 2022 23:26
@blathers-crl blathers-crl bot requested a review from otan June 9, 2022 23:26
@rafiss
Copy link
Collaborator Author

rafiss commented Jun 13, 2022

bors r=otan

@craig craig bot merged commit 999a127 into cockroachdb:master Jun 13, 2022
@craig
Copy link
Contributor

craig bot commented Jun 13, 2022

Build succeeded:

@rafiss rafiss deleted the fix-postgres-mutator branch June 15, 2022 19:56
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.

compose: TestComposeCompare failed
3 participants