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

Поиск
Список
Период
Сортировка
От pabloa98
Тема Re: how to add more than 1600 columns in a table?
Дата
Msg-id CAEjudX6ngqvZ0SeSKbrjxMfvU1BFVjGY+FC29G1YBZoDf2gK3g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: how to add more than 1600 columns in a table?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-general
Arrays could work, but it will make our code less clear. It is good to read the column name (meaningful) than a number. We could use constants, but then we should maintain them...

Pablo

On Wed, Apr 24, 2019 at 1:24 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
On 2019-Apr-24, pabloa98 wrote:

> How could we add more columns?

Sorry.

> Note: Tables are OK. We truly have 2400 columns now. Each column represents
> a value in a matrix.

Maybe you could use arrays?

--
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

В списке pgsql-general по дате отправления:

Предыдущее
От: pabloa98
Дата:
Сообщение: Re: how to add more than 1600 columns in a table?
Следующее
От: pabloa98
Дата:
Сообщение: Re: how to add more than 1600 columns in a table?