Using temporal-sql-tool to init Postgres db

hi,

I was trying to init temporal schema as part of init step of our postgres docker image. The issue I found was that at the time of init the postgres docker-entrypoint.sh does not use tcp connection but only unix connections. Is there a way to specify that while using temporal-sql-tool. Although the connectProtocol option exists it is not exposed via the tool.

Postgres isse: Listen only on the unix socket during init by sdwolfz · Pull Request #440 · docker-library/postgres · GitHub

regards,
Aman

hi,

Is it possible to expose the connectProtocol option for temporal-sql-tool? As mentioned in the persistence configurations in the documentation here: https://docs.temporal.io/docs/server/configuration#persistence .

Thanks
Aman