From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: how to add more than 1600 columns in a table?
Date: Wed, 24 Apr 2019 15:22:52 -0500
Message-ID: <1bc29b08-1905-8c0e-5301-023ff134051e@gmail.com> (raw)
In-Reply-To: <CAEjudX7ZtdVFAENPQUWVMe741N0me0Op24GHE4ibPdm--hJHvw@mail.gmail.com>
References: <CAEjudX7ZtdVFAENPQUWVMe741N0me0Op24GHE4ibPdm--hJHvw@mail.gmail.com>
On 4/24/19 3:17 PM, pabloa98 wrote:
> 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.
Is a relational database the proper tool for the job?
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: how to add more than 1600 columns in a table?
In-Reply-To: <1bc29b08-1905-8c0e-5301-023ff134051e@gmail.com>
References: <CAEjudX7ZtdVFAENPQUWVMe741N0me0Op24GHE4ibPdm--hJHvw@mail.gmail.com> <1bc29b08-1905-8c0e-5301-023ff134051e@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox