NpgsqlConnectionSetting command timeout

Server=127.0.0.1;Port=5432;Database=myDataBase;User Id=myUsername;
Password
=myPassword;CommandTimeout=20;

The CommandTimeout parameter is measured in seconds and controls for how long to wait for a command to finish before throwing an error.

Connecting

This connection string (Setting command timeout using NpgsqlConnection) can be used for connections to PostgreSQL.

Articlesread all »

Not the right connection string for you?

Start over in the connection string reference index.

You can also get help in the Q&A forums where you can ask your own question.

The kb articles contains how-tos and instructions and you can search for anything if you're not sure were to look.