Re: how to add more than 1600 columns in a table? - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: how to add more than 1600 columns in a table?
Date
Msg-id 1c8c5c54-afac-8a30-e100-7ee12d768d18@gmx.net
Whole thread Raw
In response to how to add more than 1600 columns in a table?  (pabloa98 <pabloa98@gmail.com>)
List 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?





pgsql-general by date:

Previous
From: pabloa98
Date:
Subject: how to add more than 1600 columns in a table?
Next
From: Adrian Klaver
Date:
Subject: Re: how to add more than 1600 columns in a table?