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
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
sql: don't error for fuzzystrmatch and pgcrypto extensions
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 committed Jun 9, 2022
commit 154f5e1ad33927d607327c431362602c0e06c445
4 changes: 2 additions & 2 deletions pkg/sql/create_extension.go
Original file line number Diff line number Diff line change
@@ -45,13 +45,14 @@ func (n *createExtensionNode) startExec(params runParams) error {
switch n.CreateExtension.Name {
case "postgis",
"pg_trgm",
"fuzzystrmatch",
"pgcrypto",
"uuid-ossp":
telemetry.Inc(sqltelemetry.CreateExtensionCounter(n.CreateExtension.Name))
return nil
case "postgis_raster",
"postgis_topology",
"postgis_sfcgal",
"fuzzystrmatch",
"address_standardizer",
"address_standardizer_data_us",
"postgis_tiger_geocoder":
@@ -85,7 +86,6 @@ func (n *createExtensionNode) startExec(params runParams) error {
"pageinspect",
"passwordcheck",
"pg_buffercache",
"pgcrypto",
"pg_freespacemap",
"pg_prewarm",
"pgrowlocks",