X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1E4059DCC57 for ; Tue, 21 Mar 2006 03:34:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 93494-02 for ; Tue, 21 Mar 2006 03:34:22 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id F061A9DCCAB for ; Tue, 21 Mar 2006 03:34:18 -0400 (AST) Received: from new-mail.nec.com.cn (new-mail.nec.com.cn [211.100.22.21]) by svr4.postgresql.org (Postfix) with ESMTP id CFD855AF848 for ; Tue, 21 Mar 2006 07:34:18 +0000 (GMT) Received: from internal-mail.nec.com.cn (unknown [172.28.88.254]) by new-mail.nec.com.cn (Postfix) with ESMTP id 5605D436EE for ; Tue, 21 Mar 2006 15:38:25 +0800 (CST) Received: from mailsv.necas.nec.com.cn (localhost.localdomain [127.0.0.1]) by internal-mail.nec.com.cn (Postfix) with ESMTP id 6743C178042 for ; Tue, 21 Mar 2006 15:39:58 +0800 (CST) Received: from [172.28.9.242] (ip9_242.necas.nec.com.cn [172.28.9.242]) by mailsv.necas.nec.com.cn (8.11.6/8.11.6) with ESMTP id k2L7Y2800404 for ; Tue, 21 Mar 2006 15:34:02 +0800 Message-ID: <441FAC1F.8040900@necas.nec.com.cn> Date: Tue, 21 Mar 2006 15:32:47 +0800 From: zhaoxin User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: problem about maximum row size ? Content-Type: text/plain; charset=Shift_JIS Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.465 required=5 tests=[AWL=0.465] X-Spam-Score: 0.465 X-Spam-Level: X-Archive-Number: 200603/112 X-Sequence-Number: 7398 Hi ALL , I have a question about maximum row size . In pgsql FAQ, I can find this description : ... Maximum size for a row? 1.6TB ... does it mean 1600 text column in a table and 1G every column ? but, when I test this case by psqlodbc, I got some error : 1.create table testMaxRowSize(c1 text, c2 text, ......c1599 text, c1600 text) 2.insert into testMaxRowSize values('1','2',......'1599','1600') 3.error occurred: --ERROR: row is too big: size 12832, maximum size 8136 does it mean maximum row size 8136 ? and int4 is 4 bytes , int8 is 8 bytes , and char ,varchar , text is 20 bytes , ......? if it is true , then how can I reach the max maximum size 1.6T in FAQ???? I want to test this case , can you help me ?? Regards, Zhao.