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

Function create_postgres

test/pg-cdc-old-syntax/mzcompose.py:100–110  ·  view source on GitHub ↗
(
    pg_version: str | None, extra_command: list[str] = DEFAULT_PG_EXTRA_COMMAND
)

Source from the content-addressed store, hash-verified

98
99
100def create_postgres(
101 pg_version: str | None, extra_command: list[str] = DEFAULT_PG_EXTRA_COMMAND
102) -> Postgres:
103 if pg_version is None:
104 image = None
105 else:
106 image = f"postgres:{pg_version}"
107
108 return Postgres(
109 image=image, extra_command=extra_command, volumes=["secrets:/certs:ro"]
110 )
111
112
113def get_testdrive_ssl_args(c: Composition):

Callers 8

mzcompose.pyFile · 0.70
workflow_wal_levelFunction · 0.70
workflow_cdcFunction · 0.70
workflow_migrationFunction · 0.70

Calls 1

PostgresClass · 0.90

Tested by

no test coverage detected