Re: how to add more than 1600 columns in a table?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: how to add more than 1600 columns in a table?
Date: 2019-04-24 20:18:49
Message-ID: 1c8c5c54-afac-8a30-e100-7ee12d768d18@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

pabloa98 schrieb am 24.04.2019 um 22:17:
> Sadly today we hit the 1600 columns limit of Postgresql 11.
>
> How could we add more columns?
>
> Note: Tables are OK. We truly have 2400 columns now. Each column
> represents a value in a matrix.
>
> We have millions of rows so I would prefer not to transpose each row
> to (x, y, column_value) triplets because it will make all our code
> more difficult of what it is.

What about using an array?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-04-24 20:22:34 Re: how to add more than 1600 columns in a table?
Previous Message pabloa98 2019-04-24 20:17:17 how to add more than 1600 columns in a table?