marten

How to determine whether PostgreSQL running in a Docker container is done initializing with Marten?

女生的网名这么多〃 提交于 2019-12-22 01:04:30
问题 I am basically writing a little bit of a program to benchmark the insertion performance of PostgreSQL over a given table growth, and I would like to make sure that when I am using Marten to insert data, the database is fully ready to accept insertions. I am using Docker.DotNet to spawn a new container running the latest PostgreSQL image but even if the container is in a running state it is sometimes not the case for the Postgre running inside that container. Of course, I could have added a