problem about maximum row size ? - Mailing list pgsql-odbc

From zhaoxin
Subject problem about maximum row size ?
Date
Msg-id 441FAC1F.8040900@necas.nec.com.cn
Whole thread Raw
Responses Re: problem about maximum row size ?
List pgsql-odbc
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.

pgsql-odbc by date:

Previous
From: Andreas
Date:
Subject: Re: Future versions of psqlODBC
Next
From: "Dave Page"
Date:
Subject: Re: Future versions of psqlODBC