postgresql/doc/FAQ_chinese_simp

802 lines
29 KiB
Plaintext
Raw Normal View History

2005-05-11 10:11:05 +08:00
2007-02-01 12:55:53 +08:00
PostgreSQL 常<><E5B8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>FAQ<41><51>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2007 年 1 <20> 30 <20><> <20><><EFBFBD><EFBFBD> 17:37:01 EST
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2007 年 2 <20> 1 <20><> <20><><EFBFBD> 12:55:04 CST
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><E7BBB4><EFBFBD><E4BABA><EFBFBD>Bruce Momjian (pgman@candle.pha.pa.us)
<20><><EFBFBD><EFBFBD><EFBFBD><E7BBB4><EFBFBD><E4BABA><EFBFBD>Daojing.Zhou<6F><75>doudou586@gmail.com<6F><6D>
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><E6A1A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5>
http://www.postgresql.org/files/documentation/faqs/FAQ.html<6D><6C><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><E5B9B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>http://www.postgresql.org/docs/faq/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD>
_________________________________________________________________
2007-02-01 12:55:53 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
1.1)PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.2)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL <20><>
1.3)PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.4)PostgreSQL<51><4C><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><E5B9B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.5)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C>
1.6)<29><><EFBFBD><EFBFBD><EFBFBD>PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.7)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>对PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.8)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BAA4>个BUG<55><47><EFBFBD><EFBFBD><EFBFBD>
1.9)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>解已<E8A7A3><E5B7B2><EFBFBD> BUG <20><><EFBFBD><E7BCBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.10)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6A1A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.11)<29><><EFBFBD><EFBFBD><E8AFA5> <20><><EFBFBD><EFBFBD><EFBFBD> SQL <20><>
1.12)<29><><EFBFBD><EFBFBD><EFBFBD>交补<E4BAA4><E8A1A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.13)PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><E8B5B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.14)PostgreSQL <20><><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><E5AEB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
2.1)<29><EFBFBD><E4BBAC><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL <20><EFBFBD><E4BAA4><EFBFBD>
2.2)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B7A5><EFBFBD><EFBFBD><EFBFBD>PostgreSQL <20><><EFBFBD><EFBFBD> Web 页<><E9A1B5><EFBFBD><EFBFBD>
2.3)PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BDA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
3.1)<29><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>PostgreSQL <20><><EFBFBD><EFBFBD> /usr/local/pgsql 以<><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
3.2)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
3.3)<29><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
3.4)PostgreSQL <20><><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
3.5)为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Sorry, too many clients<74> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
3.6)PostgreSQL<51><4C><EFBFBD><E7BAA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AEB9>
3.7)(使<><E4BDBF>PostgreSQL)<29><><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEA1><EFBFBD><EFBFBD>硬件 <20><>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
4.1) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.2)
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>psql<71><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>令并<E4BBA4><E5B9B6><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><E4BBAC>
4.3) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD>
4.4) <20><><EFBFBD><EFBFBD><E8AEB0><EFBFBD><EFBFBD><EFBFBD>个表<E4B8AA><E8A1A8><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.5) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A9BA><EFBFBD><EFBFBD>
4.6) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>询没<E8AFA2><E6B2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD>
4.7) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E4BCB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD>
4.8) <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>表达<E8A1A8><E8BEBE><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
<20><>表达<E8A1A8><E8BEBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.9) <20><><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5><EFBFBD><EFBFBD>
NULL<4C><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A1AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEBA><EFBFBD><E6AEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>NULL<4C><4C><EFBFBD><EFBFBD>
4.10) <20><><EFBFBD><EFBFBD>符类<E7ACA6><E7B1BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.11.1) <20><><EFBFBD> <20><><EFBFBD><E5BBBA><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5>
4.11.2) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.11.3) <20><><EFBFBD>使<EFBFBD><E4BDBF> currval() <20><><EFBFBD><E5AFBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.11.4) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.12) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> OID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CTID <20><>
4.13) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>误信<E8AFAF><E4BFA1><EFBFBD>ERROR: Memory exhausted in
AllocSetAlloc()<29><><EFBFBD>
4.14) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.15) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BBBA>个缺<E4B8AA><E7BCBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5>
4.16) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>outer join<69><6E><EFBFBD><EFBFBD><EFBFBD><E8AFA2>
4.17) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2>
4.18) <20><><EFBFBD><EFBFBD><EFBFBD><E8AEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.19) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF>PL/PgSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8B4><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>误信<E8AFAF><E4BFA1><EFBFBD>relation
with OID ##### does not exist<73><74><EFBFBD>
4.20) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.21) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
_________________________________________________________________
2007-02-01 12:55:53 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
1.1)PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
PostgreSQL 读<><E8AFBB> Post-Gres-Q-L<><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>称为Postgres
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BABA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>载声<E8BDBD><E5A3B0><EFBFBD><EFBFBD><E4BBB6> MP3 <20> <20><><EFBFBD> <20>
PostgreSQL
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>代 DBMS 系<><E7B3BB><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BCBA><EFBFBD><EFBFBD><EFBFBD>PostgreSQL
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B4B9><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD>
PostgreSQL
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BB><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个社<E4B8AA>
<20><><EFBFBD><EFBFBD><EFBFBD><E9A1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>被任<E8A2AB><E4BBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>FAQ<41><51>
http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html
2007-02-01 12:55:53 +08:00
1.2) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL <20><>
<20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E5AFBB>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><E4BABA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E5A4AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>---<2D><><E4B8BA><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A1AE><EFBFBD>
<20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CVS管<53><E7AEA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEBE><EFBFBD><E4B8BB><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20>对PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL项<4C><E9A1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBBB><EFBFBD>
<20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A4BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B0B1><EFBFBD><E8AEA2><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD>讨论
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><E8AFA6> <20><><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD> (Developer's FAQ)
<20><><EFBFBD><EFBFBD><E4BFA1><EFBFBD><EFBFBD><EFBFBD>
1.3)PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?
PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>BSD<53><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><E4BBA5><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B0B1><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 软件<E8BDAF><E4BBB6><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>们追<E4BBAC><E8BFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>责任<E8B4A3><E4BBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B0B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>软件<E8BDAF><E4BBB6><EFBFBD><EFBFBD>
<><E9A1BB><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><E5A3B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B0B1><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD>BSD<53><44><EFBFBD><E5A3B0><EFBFBD><E5AEB9>
PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>c<EFBFBD><63>1996-2005<30><35>PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>c<EFBFBD><63>1994-1996
<20> <20><><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><>Portions copyright (c) 1996-2005,PostgreSQL Global Development Group
Portions Copyright (c) 1994-6 Regents of the University of
California<69><61>
<20>许为任<E4B8BA><E4BBBB><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个软件<E8BDAF><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6A1A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBBB><EFBFBD>
<20><><EFBFBD><><E5B9B6><EFBFBD><><E9A1BB><EFBFBD> <20><>
<20><><EFBFBD><E4BAA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A3B0><EFBFBD><EFBFBD>段以<E6AEB5><E4BBA5><EFBFBD><EFBFBD><EFBFBD>两段<E4B8A4><E6AEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><>Permission to use, copy, modify, and distribute this software and
its documentation for any purpose, without fee, and without a written
agreement is hereby granted, provided that the above copyright notice
and this paragraph and the following two paragraphs appear in all
2007-02-01 12:55:53 +08:00
copies.<2E><>
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><E4BBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 使<><E4BDBF><EFBFBD><EFBFBD>
<20>软件<E8BDAF><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AFBC><EFBFBD>对任<E5AFB9><E4BBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BABA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BCB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>责任<E8B4A3><E4BBBB><EFBFBD><EFBFBD>使<EFBFBD> <20><><EFBFBD><E5A4A7>
<20><EFBFBD><E5B7B2>建议<E5BBBA><E8AEAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<20><>IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY
PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS
SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA
2007-02-01 12:55:53 +08:00
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<2E><>
2007-02-01 12:55:53 +08:00
<20> <20><><EFBFBD><E5A4A7><EFBFBD><EFBFBD><E7A1AE><EFBFBD><EFBFBD><EFBFBD><E4BBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>份软件<E8BDAF><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><E5A4A7>
<20><EFBFBD>责任<E8B4A3><E4BBBB><EFBFBD><EFBFBD><E7BBB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BCBA><EFBFBD><E4BFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<20><>THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
2007-02-01 12:55:53 +08:00
UPDATES, ENHANCEMENTS, OR MODIFICATIONS.<2E><>
2007-02-01 12:55:53 +08:00
1.4)PostgreSQL <20><><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><E5B9B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><E8AFB4><EFBFBD><EFBFBD><EFBFBD><E4BBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>对 UNIX <20><><EFBFBD><E5AEB9><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A1AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B9B3><EFBFBD>
2007-02-01 12:55:53 +08:00
PostgreSQl<51><6C><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>微软Windows-NT<4E><54><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Win2000
SP4<50><34>WinXP <20> Win2003<30><33><EFBFBD><E5B7B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://pgfoundry.org/projects/pginstaller<65><72><EFBFBD><E8BDBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MSDOS<4F>Windows<77><73><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD> <20><>Win95<39><35>Win98<39><38>WinMe<4D><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Cygwin模<6E><E6A8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51>
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个为Novell Netware 6<><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://forge.novell.com<6F><6D><EFBFBD><EFBFBD><EFBFBD>为OS/2(eComStation)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=postgre
2007-02-01 12:55:53 +08:00
SQL&stype=all&sort=type&dir=%2F <20><><EFBFBD>
1.5) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>http://www.postgresql.org/ftp/<2F><><EFBFBD><E8BDBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>FTP<54><50><EFBFBD><EFBFBD>
ftp://ftp.PostgreSQL.org/pub/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.6) <20><><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 8.2.1 <20>
<20>们计<E4BBAC><E8AEA1><EFBFBD><EFBFBD><E5B9B4><EFBFBD><EFBFBD><EFBFBD>个主<E4B8AA><E4B8BB><EFBFBD><EFBFBD><E7BAA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.7) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>对PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
PostgreSQL社<4C><E7A4BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>表为<E8A1A8><E4B8BA><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8AE><EFBFBD><EFBFBD><EFBFBD><E8AEA2><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://www.postgresql.org/community/lists/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>General <20>
Bug<75><67><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E4B8BB><EFBFBD>IRC<52><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>FreeNode(irc.freenode.net)<29>#postgresql<71><6C><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>以使<E4BBA5><E4BDBF>UNIX<49><58><EFBFBD><EFBFBD>irc<72><63><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> irc -c '#postgresql'
"$USER" irc.freenode.net <20><><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IRC客<43><E5AEA2><EFBFBD><E7ABAF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>个PostgreSQL<51>西<EFBFBD><E8A5BF><EFBFBD><EFBFBD><EFBFBD>(#postgersql-es)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(#postgresql-fr)<29><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>EFNET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个PostgreSQL<51><EFBFBD><E4BAA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD>http://techdocs.postgresql.org/companies.php<68><70>
<20><><EFBFBD>
1.8) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BAA4>个BUG<55><47><EFBFBD><EFBFBD><EFBFBD>
<20><>访<EFBFBD><E8AEBF>
http://www.postgresql.org/support/submitbug<75><67><EFBFBD>Bug<75><67><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>访<EFBFBD><E8AEBF>ftp<74><70><EFBFBD><EFBFBD>ftp://ftp.PostgreSQL.org/pub/
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><E8A1A5><EFBFBD>
<20><><EFBFBD>使<EFBFBD><E4BDBF>Bug<75>交表<E4BAA4> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD>Bug<75><EFBFBD><E5B8B8><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20>
* <20><><EFBFBD><EFBFBD><E5AEB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个Bug<75><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Bug<75><67><EFBFBD> <20>
* <20><><EFBFBD><EFBFBD><E5AEB9><EFBFBD><EFBFBD>个已<E4B8AA><E5B7B2><EFBFBD>Bug并<67><E5B9B6><EFBFBD><E5B7B2><EFBFBD> <20><>TODO<44><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBBB><EFBFBD><EFBFBD>
* <20><><EFBFBD>Bug已<67><E5B7B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>被修<E8A2AB><E4BFAE><EFBFBD>
* <20><><EFBFBD>Bug已修<E5B7B2><E4BFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A5><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>软件<E8BDAF><E4BBB6>
* 请<><E8AFB7><EFBFBD><EFBFBD><E4BAA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA6><EFBFBD><EFBFBD><E4BFA1><EFBFBD><EFBFBD>
+ <20><><EFBFBD><EFBFBD><E7B3BB>
+ PostgreSQL<51><4C><EFBFBD>
+ <20><><EFBFBD><EFBFBD><EFBFBD>Bug<75><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ <20><><EFBFBD><EFBFBD><EFBFBD><E4BFA1>
+ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B8AA><EFBFBD><EFBFBD>
* <20><><EFBFBD><EFBFBD><E5AEB9><EFBFBD><EFBFBD><EFBFBD><E4B8AA>Bug<75><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><E5B7A5><EFBFBD><EFBFBD>
+ <20><EFBFBD><E5BBBA><EFBFBD><E4B8AA><EFBFBD><E8A1A5><EFBFBD><E5B9B6><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个主<E4B8AA><E4B8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ <20><>Bug<75><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>TODO<44><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBBB><EFBFBD><EFBFBD>
1.9) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>解已<E8A7A3><E5B7B2><EFBFBD> BUG <20><><EFBFBD><E7BCBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD> SQL:2003 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>TODO
<20><EFBFBD><E8A1A8><EFBFBD><EFBFBD>解已<E8A7A3><E5B7B2>Bug<75><EFBFBD><E8A1A8><EFBFBD><E7BCBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEA1>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* 该<><E8AFA5><EFBFBD><EFBFBD> <20><>TODO<44><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBBB><EFBFBD><EFBFBD>
* 该<><E8AFA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A1BB><EFBFBD><EFBFBD><><E4B8BA>
+ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SQL<51> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ 该<><E8AFA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>大大<E5A4A7><E5A4A7><EFBFBD><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8A6><EFBFBD><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><E5BEAE><EFBFBD><E8B6B3><EFBFBD>
+ 该<><E8AFA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
* 该<><E8AFA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>TODO<44><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBBB><EFBFBD><EFBFBD>
PostgreSQL<51><4C>使<EFBFBD><E4BDBF>Bug<75><67>踪系<E8B8AA><E7B3BB><EFBFBD><EFBFBD><EFBFBD><><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>表中
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD>TODO任<4F><E4BBBB><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD>Bug<75><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>软件<E8BDAF><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
对影<E5AFB9><E5BDB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Bug<75><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BFAB>被修<E8A2AB><E4BFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFAE>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CVS<56><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD>软件<E8BDAF><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFA1>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>软件<E8BDAF><E4BBB6><EFBFBD><EFBFBD><EFBFBD>
1.10) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6A1A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
PostgreSQL<51><4C><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD><E6A1A3><EFBFBD><E4B8BB><EFBFBD><EFBFBD><E8AFA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A1B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> /doc
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6B3A8><EFBFBD><EFBFBD>为 $PGHOME/doc<6F><63><EFBFBD>
<20><> <20><><EFBFBD><EFBFBD><EFBFBD><E4BBA5>线<EFBFBD><E7BABF><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>http://www.PostgreSQL.org/d
ocs<63>
<20><EFBFBD><E4B8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><EFBFBD><E4B9A6>线<EFBFBD><E7BABF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://www.PostgreSQL.org/docs/awbook.html <20>
http://www.commandprompt.com/ppbook/ <20> <20><><EFBFBD><EFBFBD><E5A4A7>PostgreSQL书<4C><E4B9A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E4B9B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Korry Douglas<61><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://techdocs.PostgreSQL.org/techdocs/bookreviews.php<68><70>
<20><><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD>PostgreSQL书<4C><E4B9A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
http://techdocs.PostgreSQL.org/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>
<><E5AEA2><EFBFBD><E7ABAF><EFBFBD><EFBFBD><E4BBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>psql<71><6C><EFBFBD><EFBFBD><EFBFBD>以 \d
<20><><EFBFBD><E5A4B4><EFBFBD><EFBFBD><E4BBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A4BA><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7ACA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFA1><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF> \?
<20><><EFBFBD><E4BBA5><EFBFBD><E7A4BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><EFBFBD> web <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.11) <20><><EFBFBD><EFBFBD><E8AFA5> <20><><EFBFBD><EFBFBD><EFBFBD> SQL <20><>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8BFB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B9A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Teach Yourself SQL in
21 Days, Second Edition<6F><6E><EFBFBD><EFBFBD><EFBFBD><E8AFA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://members.tripod.com/er4ebus/sql/index.htm<74><6D>
<20><EFBFBD><EFBFBD><E8AEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>欢The Practical SQL Handbook<6F><6B> Bowman, Judith S.
<20><><EFBFBD><EFBFBD><EFBFBD>Addison-Wesley<65><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>欢 The Complete Reference SQL,
Groff <20><><EFBFBD><EFBFBD><EFBFBD>McGraw-Hill<6C><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBAC>
* http://www.intermedia.net/support/sql/sqltut.shtm
* http://sqlcourse.com.
* http://www.w3schools.com/sql/default.asp
* http://mysite.verizon.net/Graeme_Birchall/id1.html
1.12)<29><><EFBFBD><EFBFBD><EFBFBD>交补<E4BAA4><E8A1A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E8AFA6> <20><><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Developer's FAQ) <20>
1.13)PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><E8B5B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><>价软件<E8BDAF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
<20><><EFBFBD>
PostgreSQL <20><><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><E8AFA2><EFBFBD><E8A7A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>们没<E4BBAC><E6B2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD><EFBFBD><E7BBA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD>
PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>类似<E7B1BB><E4BCBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><E5AFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8B8>
+/- 10%<25><><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<20><><EFBFBD> <20><>
<20><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A1BB><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B0B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6B2A1><EFBFBD><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><E8AEA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7BCBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A8B3><EFBFBD> <20><><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA> beta
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBAC><EFBFBD><E4BBA5><EFBFBD><EFBFBD><E7A8B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><>产使<E4BAA7><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBAC><EFBFBD><E4BFA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>软件<E8BDAF><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<20><><EFBFBD>
<20><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>常大<E5B8B8><E5A4A7><EFBFBD><EFBFBD><EFBFBD><E4BABA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>以帮<E4BBA5><E5B8AE><EFBFBD><E8A7A3><EFBFBD><EFBFBD>
<20><><EFBFBD><E4BBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A7A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E4BBB6><EFBFBD><E5B9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A7A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BABA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7BEA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>触使PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BABA><EFBFBD>
<20><>1.7 <20><><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<> <20>
<20>们对任<E5AFB9><E4BBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B4B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><> <20><><EFBFBD><E4BBA5><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><E4BAA7><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><EFBFBD><E5A3B0><EFBFBD><E5A3B0> BSD<53><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1.14) PostgreSQL<51><4C><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><E5AEB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?
PostgreSQL 8.0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>8.0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><E4BFA1><EFBFBD>
_________________________________________________________________
2007-02-01 12:55:53 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
2.1) <20><EFBFBD><E4BBAC><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><EFBFBD><E4BAA4><EFBFBD>
PostgreSQL(缺<><E7BCBA><EFBFBD><EFBFBD>)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8BDBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A5BD>
<20><><EFBFBD><EFBFBD><EFBFBD><E4BBAC><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>PHP<48><50><EFBFBD>访<EFBFBD><E8AEBF>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Perl<72>TCL<43>Python以<6E><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://gborg.postgresql.org<72><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Drivers/Interfaces<65><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E5B9B6><EFBFBD><EFBFBD><EFBFBD>Internet<65><74><EFBFBD><E5AEB9><EFBFBD><E7B4A2><EFBFBD>
2007-02-01 12:55:53 +08:00
2.2) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B7A5><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD> Web 页<><E9A1B5><EFBFBD><EFBFBD>
<20><><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>http://www.webreview.com<6F>
2007-02-01 12:55:53 +08:00
<><E5AFB9> Web <20><><EFBFBD><EFBFBD>PHP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>http://www.php.net/<2F>
2007-02-01 12:55:53 +08:00
<><E5AFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BABA><EFBFBD> Perl <20><><EFBFBD><EFBFBD><EFBFBD> 使<><E4BDBF>CGI.pm<70>DBD::Pg <20> mod_perl <20>
2007-02-01 12:55:53 +08:00
2.3)PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BDA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BABA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51>GUI<55><49>形工<E5BDA2><E5B7A5>软件<E8BDAF><E4BBB6><EFBFBD><EFBFBD>
PostgreSQL社<4C><E7A4BE><EFBFBD><EFBFBD><E6A1A3><EFBFBD>个详<E4B8AA><E8AFA6><EFBFBD><EFBFBD><EFBFBD>
_________________________________________________________________
2007-02-01 12:55:53 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
3.1)<29><><EFBFBD> <20><><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD> /usr/local/pgsql 以<><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> configure <20><><EFBFBD> <20><> --prefix <20><EFBFBD>
3.2) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E7BCBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><E8AEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> unix <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>TCP/IP<49><50><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>件postgresql.conf中
<20>listen_addresses<65><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>件$PGDATA/pg_hba.conf<6E><66><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> host-based
<20><><EFBFBD>身份认<E4BBBD><E8AEA4><EFBFBD><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>PostgreSQL
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
3.3) <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD>个主<E4B8AA><E4B8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><E4B8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFAE><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD>:
2007-02-01 12:55:53 +08:00
+ <20>建索<E5BBBA><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>表达<E8A1A8><E8BEBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD>
+ 使<><E4BDBF>COPY<50><59><EFBFBD><EFBFBD><EFBFBD><E4BBA3><EFBFBD><EFBFBD>个Insert<72><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ <20><><EFBFBD><EFBFBD>个SQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><E4BAA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ <20><><EFBFBD><EFBFBD>个索<E4B8AA><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB0><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF>CLUSTER<45><52>
+ <20><><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB0><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF>LIMIT<49><54>
+ 使<><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2>Prepared Query)<29><>
+ 使<><E4BDBF>ANALYZE以<45><E4BBA5><EFBFBD>精确<E7B2BE><E7A1AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEA1>
+ <20><><EFBFBD>使<EFBFBD><E4BDBF> VACUUM <20> pg_autovacuum
+ <20><><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>建索<E5BBBA><E7B4A2><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><EFBFBD>件postgres.conf中
<20><><EFBFBD><EFBFBD><EFBFBD>设置<E8AEBE><E7BDAE><EFBFBD><EFBFBD><EFBFBD><E5BDB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E7AEA1><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7BDAE>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A7A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>http://www.varlena.com/varlena/GeneralBits/Tid
bits/annotated_conf_e.html <20>
http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html<6D>
2007-02-01 12:55:53 +08:00
硬件<E7A1AC><E4BBB6><EFBFBD><EFBFBD>
<><E8AEA1><EFBFBD><EFBFBD>硬件对<E4BBB6><E5AFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BDB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://candle.pha.pa.us/main/writings/pgsql/hw_performance/inde
2007-02-01 12:55:53 +08:00
x.html <20> http://www.powerpostgresql.com/PerfList/<2F>
2007-02-01 12:55:53 +08:00
3.4)PostgreSQL<51><4C><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD>类似 log_*
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7BDAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B7A5><EFBFBD><E5AFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>
3.5) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Sorry, too many
clients<74><73><EFBFBD><EFBFBD><E5A4AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><>表示<E8A1A8><E7A4BA> 已达<E5B7B2><E8BEBE><EFBFBD>100个并<E4B8AA><E5B9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFAE>postgres
ql.conf<6E><EFBFBD><E4BBB6><EFBFBD>max_connections<6E><73><EFBFBD><EFBFBD>
<20><><EFBFBD> postmaster<65><72><EFBFBD><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>postmaster<65>
3.6)PostgreSQL<51><4C><EFBFBD><E7BAA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><20><>
PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AFB9><EFBFBD><E6ACA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>级主<E7BAA7><E4B8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Bug修<67><E4BFAE><EFBFBD><E5B7A5><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
7.4.8 <20><EFBFBD><E7BAA7> 7.4.9 <20><><EFBFBD><EFBFBD><EFBFBD> dump <20> restore<72><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>软件<E8BDAF><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><E4B8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>尽快<E5B0BD><E5BFAB>
<20><><EFBFBD>尽管<E5B0BD><E7AEA1><EFBFBD><EFBFBD><E7BAA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>设计<E8AEBE><E8AEA1><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>Bug<75><67><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL社<4C><E7A4BE>认为<E8AEA4><E4B8BA><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7BAA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7BAA7>
<><E4B8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7BAA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 7.3 <20><> 7.4<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E4BBAC><EFBFBD><E7BBB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AEB9><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AFBC><EFBFBD><EFBFBD>dump<6D><70>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AFBC><EFBFBD><EFBFBD>reload<61><64>对主<E5AFB9><E4B8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7BAA7><EFBFBD><EFBFBD><EFBFBD><E9A1BB>
3.7)(使<><E4BDBF>PostgreSQL)<29><><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEA1><EFBFBD><EFBFBD>硬件 <20><>
<20><><EFBFBD><EFBFBD><EFBFBD><E8AEA1><EFBFBD><EFBFBD>硬件大<E4BBB6><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AEB9><EFBFBD>人们<E4BABA><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFA1><EFBFBD><E8AEA1><EFBFBD><EFBFBD>硬件<E7A1AC>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ECC RAM<41><4D><EFBFBD><E5B8A6><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SCSI
<20><><EFBFBD><E7A1AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>便<EFBFBD><E4BEBF><EFBFBD><E8B4A7><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL
<20> <20><><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBBB>硬件<E7A1AC><E4BBB6><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AFB9> <20><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><><E5B0B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><><E7A9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>硬件<E7A1AC><E4BBB6>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 硬件<E7A1AC><EFBFBD><E7BDAE><EFBFBD><EFBFBD><E4BBB7><EFBFBD>讨论<E8AEA8>
_________________________________________________________________
2007-02-01 12:55:53 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
4.1) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>询中
<20><><EFBFBD><EFBFBD><E7A1AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>以使<E4BBA5><E4BDBF>LIMIT<49><54><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个索<E4B8AA><E7B4A2><EFBFBD><EFBFBD> ORDER BY中
<20><><EFBFBD><EFBFBD><E4BBB6><EFBFBD><EFBFBD><EFBFBD>PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><E5B0B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E8AEB0><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AFB9><EFBFBD><E4B8AA><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><EFBFBD><E8AEB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>使<EFBFBD><E4BDBF><EFBFBD> (cursor)<29>FETCH<43><48><EFBFBD><EFBFBD>
<20><>使<EFBFBD><E4BDBF><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB0><EFBFBD><EFBFBD><EFBFBD>
SELECT cols
FROM tab
ORDER BY random()
LIMIT 1 ;
2007-02-01 12:55:53 +08:00
4.2)
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>psql<71><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>令并<E4BBA4><E5B9B6><EFBFBD><E7A4BA>
<20><>
<20><>psql<71><6C>使<EFBFBD><E4BDBF> \dt <20><><EFBFBD><E4BBA4><EFBFBD><EFBFBD><EFBFBD><E7A4BA><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>解psql中
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A8>使<EFBFBD><E4BDBF>\? <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>读 psql <20><><EFBFBD><EFBFBD>
<20>件pgsql/src/bin/psql/describe.c<><63><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA>psql<71><6C><EFBFBD> <20><><EFBFBD><E4BBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> SQL
<20><><EFBFBD><E4BBA4><EFBFBD> <20><><EFBFBD><EFBFBD>以带 -E <20><EFBFBD><E9A1B9><EFBFBD><EFBFBD> psql<71><6C> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>psql中
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD>SQL<51><4C>询语
<20><><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA>容SQL<51>INFORMATION SCHEMA<4D><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><> <20><><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFA1><EFBFBD>
<20><><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>以pg_ <20><EFBFBD><EFBFBD><E7B3BB><EFBFBD><E8A1A8><EFBFBD><EFBFBD><E8BFB0><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
使<><E4BDBF> psql -l <20><EFBFBD><E4BBA4><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
pgsql/src/tutorial/syscat.source<63><EFBFBD><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><E8A1A8>
<20><><EFBFBD><EFBFBD><E4BFA1><EFBFBD>SELECT<43><54><EFBFBD><EFBFBD><EFBFBD>
4.3) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD>
<20><>8.0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><EFBFBD> ALTER TABLE ALTER
COLUMN TYPE <20>
<20><><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD> <20><><EFBFBD><EFBFBD>
BEGIN;
ALTER TABLE tab ADD COLUMN new_col new_data_type;
UPDATE tab SET new_col = CAST(old_col AS new_data_type);
ALTER TABLE tab DROP COLUMN old_col;
COMMIT;
2007-02-01 12:55:53 +08:00
<20><> <20><><EFBFBD><EFBFBD><EFBFBD>以使<E4BBA5><E4BDBF>VACUUM FULL tab <20><EFBFBD><E4BBA4>使系<E4BDBF><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E7A9BA><EFBFBD>
4.4) <20><><EFBFBD><EFBFBD><E8AEB0><EFBFBD><EFBFBD><EFBFBD>个表<E4B8AA><E8A1A8><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>大尺寸<E5B0BA><E5AFB8> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B7B2><EFBFBD><EFBFBD> 32TB <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20>个表<E4B8AA><E8A1A8>大尺寸<E5B0BA><E5AFB8> 32 TB
<20><><EFBFBD><EFBFBD><EFBFBD><E8AEB0><EFBFBD><EFBFBD>大尺寸<E5B0BA><E5AFB8> 1.6 TB
<20><><EFBFBD><EFBFBD><E6AEB5>大尺寸? 1 GB
<20><>个表<E4B8AA><E8A1A8><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD>
<20><>个表<E4B8AA><E8A1A8><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD> 250-1600 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><>个表<E4B8AA><E8A1A8><EFBFBD>大索<E5A4A7><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6B2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A9BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/交<><E4BAA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8BFB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>大影<E5A4A7><E5BDB1>
<20><EFBFBD><E8A1A8>大大<E5A4A7><E5A4A7> 32 TB
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD>大表<E5A4A7><E8A1A8><EFBFBD><EFBFBD>个 1 GB <20><><EFBFBD><E4BBB6>
<20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>件系<E4BBB6><E7B3BB><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><E7BCBA><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 32K <20><><EFBFBD><EFBFBD><E5A4A7>表大<E8A1A8><E5A4A7><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><E5B0B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>对大<E5AFB9><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2000<30><30>
<20><><EFBFBD><EFBFBD>建索<E5BBBA><E7B4A2><EFBFBD><EFBFBD><E5B9B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AFB9><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><E5AEB9><EFBFBD><EFBFBD>MD5<44><35><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><E5AFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E5B9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>许对<E8AEB8><E5AFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.5) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A9BA><EFBFBD><EFBFBD>
<20><>个 Postgres <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><E4BBB6><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E7A9BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><E4BBB6>身大<E8BAAB><E5A4A7>5<EFBFBD><35><EFBFBD><EFBFBD>
<20><EFBFBD><E7A9BA><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEBE><EFBFBD>个 100,000 <20><><EFBFBD><EFBFBD><EFBFBD><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD>
<20><EFBFBD><E8AEBE><EFBFBD><EFBFBD><EFBFBD><E5B9B3><EFBFBD>度为20<32><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> 2.8 MB<4D><42><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>件大约<E5A4A7><E7BAA6> 6.4 MB:
28 <20><>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4B4>大约<E5A4A7><E7BAA6><EFBFBD><EFBFBD>
24 <20><>: <20><><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD>
+ 4 <20><>: 页<><E9A1B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
----------------------------------------
2007-02-01 12:55:53 +08:00
56 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD> 8192 <20><> (8 KB)<29><><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
8192 <20><><EFBFBD><EFBFBD>
------------------- = 146 <20><>/<2F><><EFBFBD><EFBFBD><EFBFBD><E9A1B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
56 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
100000 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
-------------------- = 685 <20><><EFBFBD><EFBFBD><EFBFBD><E9A1B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
146 <20><>/<2F><><EFBFBD><EFBFBD>
2007-02-01 12:55:53 +08:00
685 <20><><EFBFBD><EFBFBD>页 * 8192 <20><>/页 = 5,611,520 <20><><EFBFBD><EFBFBD>5.6 MB<4D><42>
2007-02-01 12:55:53 +08:00
<><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A1AE><EFBFBD><EFBFBD><EFBFBD>被索<E8A2AB><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
<20><><EFBFBD><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E7A9BA>NULL<4C><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A9BA><EFBFBD>
4.6) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>询没<E8AFA2><E6B2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD>
<><E5B9B6><EFBFBD><EFBFBD><E4B8AA><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD>
<><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD> 为索<E4B8BA><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B5B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><E9A1BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><E7B4A2><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><E9A1BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><E8AEA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEA1><EFBFBD><EFBFBD>以使<E4BBA5>
<20> VACUUM ANALYZE<5A><45><EFBFBD> ANALYZE <20><><EFBFBD><EFBFBD><EFBFBD> 使<><E4BDBF><EFBFBD><EFBFBD><EFBFBD><E8AEA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>表中
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B0B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD>
<20><><EFBFBD><E8AEA1>对确<E5AFB9><E7A1AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A1BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><E5AEB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><E8AEA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E7B4A2><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ORDER BY
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AFB9>个大表<E5A4A7><E8A1A8><EFBFBD>次顺<E6ACA1><E9A1BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6ACA1><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BFAB><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> LIMIT <20> ORDER BY
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>起使<E8B5B7><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>表中
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB0><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD> 确信PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><E9A1BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A1AE><EFBFBD><EFBFBD><EFBFBD> <20><>以使<E4BBA5><E4BDBF>SET
enable_seqscan TO 'off'<27><EFBFBD><E4BBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A1BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><E6ACA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><><E5B0B1><EFBFBD><E4BBA5><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD>个索<E4B8AA><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A1AE><EFBFBD><EFBFBD><EFBFBD><E5BFAB><EFBFBD><EFBFBD><EFBFBD>
<20><>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><E7ACA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> LIKE <20> ~ <20><><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD>
* <20>符串<E7ACA6><E4B8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A1BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>符串<E7ACA6><E4B8B2><EFBFBD><EFBFBD><EFBFBD><E5B0B1><EFBFBD><E8AFB4>
+ LIKE 模<><E6A8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>以 % <20><EFBFBD>
+ ~ <20><><EFBFBD><EFBFBD><EFBFBD>表达<E8A1A8><E8BEBE><EFBFBD><EFBFBD><EFBFBD><E6A8A1><EFBFBD><EFBFBD>须以 ^ <20><EFBFBD>
* <20>符串<E7ACA6><E4B8B2><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6A8A1><EFBFBD><EFBFBD><E5A4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [a-e]<5D>
* 大<><E5A4A7><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ILIKE <20> ~* <20><><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5> 4.8
<20><><EFBFBD>表达<E8A1A8><E8BEBE><EFBFBD><E7B4A2><EFBFBD>
* <20><><EFBFBD> initdb <20><><EFBFBD><EFBFBD><EFBFBD><E9A1BB><EFBFBD><EFBFBD><E7BCBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>设置 C
locale<6C><65><EFBFBD> 为系<E4B8BA><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C locale<6C><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7ACA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E5BBBA><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD>text_pattern_ops索<73><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>LIKE
<20><EFBFBD><E7B4A2><EFBFBD>
2007-02-01 12:55:53 +08:00
<20><>8.0<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD><EFBFBD><E8A2AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>对int2,int8<74><38><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD>
2007-02-01 12:55:53 +08:00
4.7) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E4BCB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2>
<20><> EXPLAIN <20><><EFBFBD>
2007-02-01 12:55:53 +08:00
4.8) <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>表达<E8A1A8><E8BEBE><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
<20><>表达<E8A1A8><E8BEBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD>符 ~ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>表达<E8A1A8><E8BEBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ~* <20><><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
<20><>表达<E8A1A8><E8BEBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD> <20><><EFBFBD> LIKE <20><><EFBFBD><EFBFBD>为 ILIKE<4B>
2007-02-01 12:55:53 +08:00
<><E5A4A7><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD>
SELECT *
FROM tab
WHERE lower(col) = 'abc';
2007-02-01 12:55:53 +08:00
<20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD> <20><><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BBBA><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD>表达<E8A1A8><E8BEBE><EFBFBD>
<20><><EFBFBD><EFBFBD>:
CREATE INDEX tabindex ON tab (lower(col));
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><EFBFBD>述索<E8BFB0><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BBBA><EFBFBD> <20><>UNIQUE约<45><E7BAA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD><E6AEB5><EFBFBD><EFBFBD><E5AEB9><EFBFBD><E4BBA5>
<20><><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AEB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>UNIQUE约<45><E7BAA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AEB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>以使<E4BBA5><E4BDBF>CHECK约<4B><E7BAA6><EFBFBD><EFBFBD><E4BBB6><EFBFBD><EFBFBD><E8A7A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.9) <20><><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5><EFBFBD><EFBFBD>为 NULL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A1AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEBA><EFBFBD>
<><E6AEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> NULL <20><><EFBFBD><EFBFBD>
<20><> IS NULL <20> IS NOT NULL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
SELECT *
FROM tab
WHERE col IS NULL;
2007-02-01 12:55:53 +08:00
<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><E5AFB9> NULL<4C><EFBFBD><E6AEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ORDER BY <20><><EFBFBD><E4BBB6>使<EFBFBD><E4BDBF> IS NULL<4C> IS NOT
NULL 修饰符<E9A5B0><E7ACA6><EFBFBD><EFBFBD>件为<E4BBB6> true <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>件为<E4BBB6>false <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E5B0B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD> NULL <20><EFBFBD><E8AEB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
SELECT *
FROM tab
ORDER BY (col IS NOT NULL)
2007-02-01 12:55:53 +08:00
4.10) <20><><EFBFBD><EFBFBD>符类<E7ACA6><E7B1BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<> <20><><EFBFBD><EFBFBD>称 说<>
VARCHAR(n) varchar <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><E5BAA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
符串<E7ACA6><E4B8B2><EFBFBD><EFBFBD><EFBFBD><E8B6B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BAA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A5>
CHAR(n) bpchar <20><><EFBFBD><EFBFBD><EFBFBD>符串<E7ACA6><E4B8B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B6B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BAA6><EFBFBD><EFBFBD>以空<E4BBA5> <20><EFBFBD><E8A1A5>
TEXT text 没<><E6B2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><E5BAA6><EFBFBD><EFBFBD><EFBFBD>
BYTEA bytea <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF>NULL<4C><EFBFBD><E7ACA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB8><EFBFBD>
"char" char <20><EFBFBD>
<20><><EFBFBD><E7B3BB><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>误信<E8AFAF><E4BFA1><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD>"varlena"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B0B1><EFBFBD><E8AFB4><EFBFBD><EFBFBD><EFBFBD><E5A4B4><EFBFBD><E4B8AA>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BAA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E7A9BA><EFBFBD><EFBFBD><EFBFBD><E5A3B0><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>以被<E4BBA5><EFBFBD><E7BCA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
<20><><EFBFBD><EFBFBD><EFBFBD><E7A9BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
VARCHAR(n) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4A7><EFBFBD><E5BAA6><EFBFBD><EFBFBD><EFBFBD>符串<E7ACA6><E4B8B2><EFBFBD><EFBFBD><E5A5BD> TEXT <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><E5A4A7>达 1G左<47><E5B7A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BAA6>符串<E7ACA6>
CHAR(n) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BAA6><EFBFBD><EFBFBD><EFBFBD>符串<E7ACA6> CHAR(n)<29><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E6AEB5>度以空<E4BBA5> <20>补足<E8A1A5><E8B6B3><EFBFBD><EFBFBD><EFBFBD><E8B6B3><EFBFBD><EFBFBD><E5AEB9><EFBFBD><EFBFBD> <20> VARCHAR(n) <20><><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> BYTEA <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B0A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> NULL <20><>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD><EFBFBD><EFBFBD><E5B7AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.11.1) <20><><EFBFBD> <20><><EFBFBD><E5BBBA><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5>
PostgreSQL <20><><EFBFBD> SERIAL <20><><EFBFBD><EFBFBD><EFBFBD><E7B1BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E6AEB5><EFBFBD><EFBFBD>为SERIAL<41><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BBBA><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
CREATE TABLE person (
id SERIAL,
name TEXT
);
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8BDAC>为以<E4B8BA><E4BBA5>SQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
CREATE SEQUENCE person_id_seq;
CREATE TABLE person (
id INT4 NOT NULL DEFAULT nextval('person_id_seq'),
name TEXT
);
2007-02-01 12:55:53 +08:00
<20><> create_sequence <20><><EFBFBD><E9A1B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BFA1><EFBFBD>
4.11.2) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> nextval() <20><><EFBFBD><EFBFBD><EFBFBD>对象<E5AFB9><E8B1A1><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个 SERIAL
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>精确<E7B2BE><E7A1AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF> 4.11.1 <20><><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><E8BFB0>
new_id = execute("SELECT nextval('person_id_seq')");
execute("INSERT INTO person (id, name) VALUES (new_id, 'Blaise Pascal')");
2007-02-01 12:55:53 +08:00
<20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> new_id <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD> person
<><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><><E6B3A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> SEQUENCE 对象<E5AFB9><E8B1A1><EFBFBD><E7A7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<table>_<serialcolumn>_seq<65><71> <20><><EFBFBD> table <20> serialcolumn
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><E8A1A8><EFBFBD><E7A7B0><EFBFBD> <20> SERIAL <20><EFBFBD><E6AEB5><EFBFBD>
类似<E7B1BB><E4BCBC><EFBFBD><EFBFBD><EFBFBD> SERIAL 对象缺<E8B1A1><E7BCBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> currval() <20><><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
SERIAL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
execute("INSERT INTO person (name) VALUES ('Blaise Pascal')");
new_id = execute("SELECT currval('person_id_seq')");
2007-02-01 12:55:53 +08:00
4.11.3) <20><><EFBFBD>使<EFBFBD><E4BDBF> currval() <20><><EFBFBD><E5AFBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>currval() <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E6ACA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.11.4) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>
<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E5B0B1><EFBFBD><E5AFBC><EFBFBD><EFBFBD>常中
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.12) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> OID <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CTID <20><>
PostgreSQL
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><E5BBBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD>OID<49><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>建表<E5BBBA><E8A1A8>使<EFBFBD><E4BDBF>WITHOUT
OIDS<44><EFBFBD> OID<49><EFBFBD><E5BBBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个4<E4B8AA><34><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> OID
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>40亿<30><E4BABF><EFBFBD><EFBFBD><EFBFBD><E6BAA2><EFBFBD><EFBFBD> OID<49><44>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD>使<EFBFBD><E4BDBF> OID <20><><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><E5BBBA><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A5BD>使<EFBFBD><E4BDBF>SERIAl<41><6C><EFBFBD><E4BBA3>OID
<20> 为SERIAL<41><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个表中
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B0B1><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E6BAA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
SERIAL8<4C><38><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>8<EFBFBD><38><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
CTID <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E5B8A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7A7BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CTID
<20><><EFBFBD><E8AEB0><EFBFBD><E8A2AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8BDBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><E4BBAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
4.13) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>误信<E8AFAF><E4BFA1><EFBFBD>ERROR: Memory exhausted in AllocSetAlloc()<29><><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD><E5AFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
postmaster <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA4>
ulimit -d 262144
limit datasize 256m
2007-02-01 12:55:53 +08:00
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
shell<6C><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5><EFBFBD><EFBFBD><E8AEBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20> <20><><EFBFBD><EFBFBD><E8AEB8><EFBFBD><E8AEA9><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4BBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SQL客<4C><E5AEA2><EFBFBD><E7ABAF><EFBFBD><><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<><E5AEA2><EFBFBD><E7ABAF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8BFB0><EFBFBD>
4.14) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><> psql <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> SELECT version();<3B><EFBFBD>
4.15) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5BBBA>个缺<E4B8AA><E7BCBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6AEB5>
使<><E4BDBF> CURRENT_TIMESTAMP<4D><50>
CREATE TABLE test (x int, modtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP );
2007-02-01 12:55:53 +08:00
4.16) <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> outer join <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
PostgreSQL <20><><EFBFBD><EFBFBD> <20><> SQL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>两个<E4B8A4><E4B8AA><EFBFBD><EFBFBD><EFBFBD>
SELECT *
FROM t1 LEFT OUTER JOIN t2 ON (t1.col = t2.col);
2007-02-01 12:55:53 +08:00
<20><><EFBFBD>
SELECT *
FROM t1 LEFT OUTER JOIN t2 USING (col);
2007-02-01 12:55:53 +08:00
<20><>两个<E4B8A4><EFBFBD><E4BBB7><EFBFBD><EFBFBD><E8AFA2> t1.col <20> t2.col <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD><EFBFBD> t1 中
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> t2 <20><><EFBFBD><E6B2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>[<5B><>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>RIGHT OUTER
JOIN<49><4E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> t2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>FULL OUTER JOIN<49><4E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> t1 <20> t2
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> OUTER <20><>左[<5B><>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B><>]<5D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B><>]<5D><><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>被称为<E7A7B0><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>INNER JOIN<49><4E><EFBFBD>
4.17) <20><><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2>
<><E6B2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20> 为PostgreSQL<51><4C><EFBFBD><><E8BDBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B3BB><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD> <20><>
<20><EFBFBD><E8B7A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><> <20><><EFBFBD><EFBFBD><EFBFBD>contrib/dblink<6E><EFBFBD><E8AEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B7A8><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AEA2><EFBFBD><EFBFBD><E5B9B6><EFBFBD><EFBFBD>
4.18) <20><><EFBFBD><EFBFBD><EFBFBD><E8AEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
http://techdocs.postgresql.org/guides/SetReturningFunctions
2007-02-01 12:55:53 +08:00
4.19) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF>PL/PgSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8B4><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>误信<E8AFAF><E4BFA1><EFBFBD>relation with
OID ##### does not exist<73><74><EFBFBD>
PL/PgSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AEB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
PL/PgSQL
<20><><EFBFBD><EFBFBD>访<EFBFBD><E8AEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>个临<E4B8AA><E4B8B4><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD>该表被<E8A1A8> <20><><EFBFBD><EFBFBD><E5BBBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6ACA1><EFBFBD><EFBFBD><EFBFBD><E8AFA5><EFBFBD><EFBFBD><EFBFBD>
<20>失败<E5A4B1><E8B4A5> <20><><E4B8BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5AEB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8B4><EFBFBD><EFBFBD><E8A7A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> PL/PgSQL
<20><><EFBFBD><EFBFBD>EXECUTE
对临<E5AFB9><E4B8B4><EFBFBD><E8A1A8><EFBFBD><EFBFBD>访<EFBFBD><E8AEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A2AB><EFBFBD><EFBFBD><E8A7A3>
4.20) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7BCBA><EFBFBD><EFBFBD>
主/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB8>个主<E4B8AA><E4B8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>读/<2F><><EFBFBD><EFBFBD><EFBFBD><E8AFB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><>/SELECT<43><54><EFBFBD><E8AFA2><EFBFBD><EFBFBD><E8AFB7> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>主/<2F><>PostgreSQL<51><4C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Slony-I <20>
<20><>个主<E4B8AA><E4B8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEB8>读/<2F><><EFBFBD><EFBFBD><EFBFBD><E8AFB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AEA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B8A6><EFBFBD><EFBFBD><EFBFBD><E4B8A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A4B1>Pgcluster<65><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><EFBFBD><E5A5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B4B9><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B4B9><EFBFBD><EFBFBD><EFBFBD>硬件<E7A1AC><E4BBB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8BFB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6A8A1>
4.21) 为<><E4B8BA><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B8BA><EFBFBD><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><EFBFBD><E5B8B8><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>建表<E5BBBA><E8A1A8>对表<E5AFB9><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>称为<E7A7B0> <20><><EFBFBD><E7ACA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><><E5A4A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><E8AFA2><EFBFBD><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B7A5>软件<E8BDAF><E4BBB6><EFBFBD>pgAdmin<69><6E><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>建表<E5BBBA><E8A1A8><EFBFBD><E4BBA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E7ACA6><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><>
<20><><EFBFBD><EFBFBD><E4B8BA><EFBFBD> <20><><EFBFBD><E7ACA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E8AFA5>
* <20><><EFBFBD>建表<E5BBBA><E8A1A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>符使<E7ACA6><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B5B7><EFBFBD>
* <20><><EFBFBD> <20><><EFBFBD><E7ACA6><EFBFBD><EFBFBD>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* <20><><EFBFBD><E4B8BA><EFBFBD><EFBFBD><EFBFBD><E5B7B2><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E7ACA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8AFA2>使<EFBFBD><E4BDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E7ACA6><EFBFBD><E8B5B7><EFBFBD>