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 <alvhe...@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 >