Re: More then 1600 columns? - Mailing list pgsql-general

From Tom Lane
Subject Re: More then 1600 columns?
Date
Msg-id 3626.1289599813@sss.pgh.pa.us
Whole thread Raw
In response to Re: More then 1600 columns?  ("Mark Mitchell" <mmitchell@riccagroup.com>)
Responses Re: More then 1600 columns?  ("Clark C. Evans" <cce@clarkevans.com>)
List pgsql-general
"Mark Mitchell" <mmitchell@riccagroup.com> writes:
> I think it's very obvious that Postgres developers have no interest in
> going over 1600 columns in the foreseeable future and which forces us
> to find creative ways around it but I just don't see why it has to be
> this way.

Well, it's a tradeoff.  Supporting > 1600 columns would require widening
t_hoff, which means another byte occupied by row headers, which is a
data structure that we have sweated blood to minimize and aren't eager
to bloat just to support what seems extremely dubious database design
practice.  The other possible inefficiencies are minor by comparison
to that objection: larger row headers are a cost that will be paid by
*every* user of Postgres.

            regards, tom lane

pgsql-general by date:

Previous
From: Dmitriy Igrishin
Date:
Subject: Re: More then 1600 columns?
Next
From:
Date:
Subject: Re: Instructions/status of modpglogger