MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / alter_system_set

Function alter_system_set

test/sql-feature-flags/mzcompose.py:88–93  ·  view source on GitHub ↗

Generate a TD command that sets a system parameter.

(name: str, value: str)

Source from the content-addressed store, hash-verified

86
87
88def alter_system_set(name: str, value: str) -> str:
89 """Generate a TD command that sets a system parameter."""
90 return dedent(f"""
91 $ postgres-execute connection=mz_system
92 ALTER SYSTEM SET {name} = '{value}';
93 """).strip()
94
95
96def alter_system_reset(name: str) -> str:

Callers 2

phase1Method · 0.85
run_testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected