PostgreSQL支持使用unix套接字而不是TCP套接字。如何配置以下塊以使用unix套接字。如何配置phoenix使用postgresql的套接字
# Configure your database
config :my_app, Sample.Repo,
adapter: Ecto.Adapters.Postgres,
database: "ecto_simple",
username: "postgres",
password: "postgres"
我敢肯定Postgrex(其中外生使用靈藥PostgreSQL驅動)不支持通過Unix套接字連接。 – Dogbert
@Dogbert在瀏覽一些文檔後,我認爲你可能是對的。 – steakunderscore