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

Function create_postgres

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

Source from the content-addressed store, hash-verified

85
86
87def create_postgres(
88 pg_version: str | None, extra_command: list[str] = DEFAULT_PG_EXTRA_COMMAND
89) -> Postgres:
90 if pg_version is None:
91 image = None
92 else:
93 image = f"postgres:{pg_version}"
94
95 return Postgres(
96 image=image, extra_command=extra_command, volumes=["secrets:/certs:ro"]
97 )
98
99
100SERVICES = [

Callers 7

mzcompose.pyFile · 0.70
workflow_wal_levelFunction · 0.70
workflow_cdcFunction · 0.70
workflow_large_scaleFunction · 0.70

Calls 1

PostgresClass · 0.90

Tested by

no test coverage detected