File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ class Settings(BaseSettings):
144144 postgres_min_pool_size : int = 1
145145 postgres_max_pool_size : int = 10
146146 postgres_command_timeout_seconds : float = 30.0
147-
147+ postgres_schema : str = "public"
148148 # Azure AI Search settings - for vector embeddings storage
149149 azure_search_endpoint : str = ""
150150 azure_search_key : str = "" # Optional if using managed identity
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ async def _initialize_client(self) -> None:
117117 min_size = max (1 , int (settings .postgres_min_pool_size )),
118118 max_size = max (1 , int (settings .postgres_max_pool_size )),
119119 command_timeout = float (settings .postgres_command_timeout_seconds ),
120+ server_settings = {"search_path" : settings .postgres_schema or "public" },
120121 )
121122
122123 await self ._ensure_schema ()
Original file line number Diff line number Diff line change 4343 POSTGRES_HOST : {{ $hostWithoutPort | b64enc | quote }}
4444 PGBOUNCER_URL : {{ $pgbouncerUrl | b64enc | quote }}
4545 postgres_dsn : {{ $databaseURL | b64enc | quote }}
46+ postgres_schema : {{ $databaseName | b64enc | quote }}
4647---
4748apiVersion : v1
4849kind : Secret
You can’t perform that action at this time.
0 commit comments