Hello.Tell me please how to make sure that the service is already running? This is the postgres database, which can be seen in the task manager.Sometimes there is a situation that immediately after the start of the computer, the user quickly launches my application and gets an error because my application try access to postgres database. If the user waited for extra seconds 10-30, there would be no error.I would like to handle this situation and give the user a message that Windows has not yet uploaded the postgres service.How can I make sure that the service is already running and really works?Thanks.

I dont know anything about postgres databases but would it be possible to try to get the db version inside a loop of some typethen break out of the loop once the version was sent. You wouldknow its loaded up at that point.