惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
IT之家
IT之家
Last Week in AI
Last Week in AI
J
Java Code Geeks
L
LangChain Blog
Recent Announcements
Recent Announcements
Martin Fowler
Martin Fowler
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
博客园 - Franky
博客园 - 司徒正美
月光博客
月光博客
博客园 - 叶小钗
Vercel News
Vercel News
腾讯CDC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
B
Blog RSS Feed
人人都是产品经理
人人都是产品经理
H
Help Net Security
G
Google Developers Blog
D
DataBreaches.Net

博客园 - 逗号李

任务安排 outofmemory issue for stringbuilder 如何建立测试生态系统 Eclipse 运行测试每次都先重新build 提高软件测试能力的19条建议 敏捷-1 15个JavaScript Web UI库 关于 分布式Oracle中 database link csharp notes - 3 csharp notes – 2 csharp notes - 1 CHM文件无法显示问题 - 逗号李 - 博客园 MVC2 leanring –1 Cocoa hibernate基础[转] hibernate基础[转] Oracle 中统计时间间隔的方法 windows live writer 配置出错? 如何在用户控件中操作页面中的控件?
connection string for PostgreSql
逗号李 · 2011-05-26 · via 博客园 - 逗号李

http://www.mono-project.com/PostgreSQL#Some_Connection_Example

Parameter Definition Description Example
Server hostname of the PostgreSQL Server Server=localhost
Database name of the database Database=postgres
Port Network port to connect. Optional Port=54321
User ID user id User ID=postgres
Password password Password=mypass12
Encoding Encoding to be used. Possible values: ASCII(default) and UNICODE. Use UNICODE if you are getting problems with UTF-8 values Encoding=UNICODE
SSL True or False. Controls whether to attempt a secure connection. Default = False SSL=true
Pooling True or False. Controls whether connection pooling is used. Default = True Pooling=false
MinPoolSize Min size of connection pool. Default: 1 MinPoolSize=2
MaxPoolSize Max size of connection pool. Default: 20 MaxPoolSize=6
Timeout Time to wait for connection open in seconds Timeout=30
Sslmode Mode for ssl connection control. Sslmode can be one of the following values:
           Prefer - If it is possible to connect using ssl, it will be used.
           Require - If an ssl connection cannot be made, an exception is thrown.
           Allow - Not supported yet, just connects without ssl.
           Disable - No ssl connection is done.
           Default is Disable. 
Sslmode=Require
Protocol Protocol version to use, instead of automatic detection. First tries 3 and fallsback to 2; Integer 2 or 3. Protocol=2

CommandTimeout=20;Timeout=15;