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

From pabloa98
Subject how to add more than 1600 columns in a table?
Date
Msg-id CAEjudX7ZtdVFAENPQUWVMe741N0me0Op24GHE4ibPdm--hJHvw@mail.gmail.com
Whole thread Raw
Responses Re: how to add more than 1600 columns in a table?  (Thomas Kellerer <spam_eater@gmx.net>)
Re: how to add more than 1600 columns in a table?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: how to add more than 1600 columns in a table?  (Ron <ronljohnsonjr@gmail.com>)
Re: how to add more than 1600 columns in a table?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: how to add more than 1600 columns in a table?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: how to add more than 1600 columns in a table?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: how to add more than 1600 columns in a table?  (Joe Conway <mail@joeconway.com>)
List pgsql-general
Hello

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.

Any help, very appreciated.

Pablo

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Postgres Security Patches Question
Next
From: Thomas Kellerer
Date:
Subject: Re: how to add more than 1600 columns in a table?