Connection string for Connection timeout for Postgre SQL

This article deals with basics of Connection string for Connection timeout for Postgre SQL
  • 4257

Connection timeout

Connection timeout determines the time in which the connection will terminate and throw an error if the the connection is not established in that specified amount of time. The command given below is connection string which will determine the connection timeout.

Server=127.0.0.1;Port=5432;Database=user_database;User Id=Username;Password=User_Password;Timeout=25;
 
NOTE: The value of time is given in seconds.

Further Readings

You may also want to read these related articles.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.