From: zhaoxin <zhaox@necas.nec.com.cn>
To: pgsql-odbc@postgresql.org
Subject: problem about maximum row size ?
Date: Tue, 21 Mar 2006 15:32:47 +0800
Message-ID: <441FAC1F.8040900@necas.nec.com.cn> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: zhaox@necas.nec.com.cn
Subject: Re: problem about maximum row size ?
In-Reply-To: <441FAC1F.8040900@necas.nec.com.cn>
References: <441FAC1F.8040900@necas.nec.com.cn>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox