Re: column limit

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Isaac Ben <ib(dot)zero(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: column limit
Date: 2007-01-25 17:51:41
Message-ID: 20070125175141.GB7220@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 25, 2007 at 08:34:08 -0700,
Isaac Ben <ib(dot)zero(at)gmail(dot)com> wrote:
> Hi,
> I'm trying to create a table with 20,000 columns of type int2, but I
> keep getting the error message that the limit is 1600. According to
> this message http://archives.postgresql.org/pgsql-admin/2001-01/msg00199.php
> it can be increased, but only up to about 6400. Can anyone tell me
> how to get 20,000 columns?

Can you explain what you are really trying to do? It is unlikely that using
20000 columns is the best way to solve your problem. If we know what you are
really trying to do we may be able to make some other suggestions.
One thing you might start looking at is using an array or arrays.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Douglas McNaught 2007-01-25 17:53:57 Re: sequence increment jumps?
Previous Message Tom Lane 2007-01-25 17:51:31 Re: Stats collector frozen?