Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJOR7-00006u-7b for pgsql-general@arkaria.postgresql.org; Wed, 24 Apr 2019 20:24:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hJOR5-0003Mj-TK for pgsql-general@arkaria.postgresql.org; Wed, 24 Apr 2019 20:24:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJOR5-0003LD-Bk for pgsql-general@lists.postgresql.org; Wed, 24 Apr 2019 20:24:07 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJOR2-0005UZ-OZ for pgsql-general@lists.postgresql.org; Wed, 24 Apr 2019 20:24:06 +0000 Received: by mail-qk1-x741.google.com with SMTP id n68so11714375qka.1 for ; Wed, 24 Apr 2019 13:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=xGd5v3w5PWnIYWNUZjDSNfXwc4evZ/TGylMVdU0Nlos=; b=we9gCOiGeMEgic1dijb2lrSUPf2i2Yt0ydJkQE2dJYWwj8GyN6rqYAJQspmQvgubBe tYazxIlYkrSBPNKb7AsmWEuGftuyP99XtkSy6OTkLDudV08aCdJvrX4FbxjljyJWJg7m BMFVnYx1ztyPm8gbLJMr7tUSCjoQz+S7sqhkhoTpzQzCHltlEMdW4VXg9/3/7LW4tfi3 mZEdaXmCKlYjzGyz6sc+y8MRhxqwUnQP0Nb33CtHVFKdEX1xTnkxBEnUPf2tlyb0LEB2 FsCi/rMrkX6Zz3YyrZW7V0R5WqmglcTeSbBF988mTT08H1zlFnKzFyIbrZ+iAXrihQCI I7Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=xGd5v3w5PWnIYWNUZjDSNfXwc4evZ/TGylMVdU0Nlos=; b=mejk+9uw8z6rhhPzv6kqtpv8o5d1owmd6bAYiydRv+vWdGWCWbCCKdh7lGislPD7nD Ffq32Qjbyuxo5SCSZl5WIuiDDS01bsLtX/5B4z/ZIT5XwOCi5SKVaaG9+QJ/U4gKBHLT FR/o0sNUWxDTxzp6LAEXs7Dx1PrxHBGrRYrKGSVUS0/CnvTKteQ0NmDvRMM2vDSt+niR ORWL9tReXwsnQhahWtTDpqJfRKSL+12x2eFDczwk0TrdUUJYN9OZFyuvoMrXYe6cwhSG HxeoIQVgufcZmRyhqAYzFTzz4C9ir6DLQ4TMgtiEKIZzzbKa/93zYA/VvQf8VkVVabDE ykMA== X-Gm-Message-State: APjAAAVgyTFWxootZFV6pSJe8t6yZpsqNpuP3hvQ0l3QYlg4WXX1+UfK nzTCU7+U3Cqbgo/3U/xZmzl0bl3wJzg= X-Google-Smtp-Source: APXvYqx+twjNkGcMkkwPozhJqmMHw095hdn42uI1pdf2GE3iUcVHWRVbf90xNKnCE12NEgTZEmAVBg== X-Received: by 2002:ae9:e107:: with SMTP id g7mr26865306qkm.272.1556137442402; Wed, 24 Apr 2019 13:24:02 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id 12sm4394744qtb.4.2019.04.24.13.24.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Apr 2019 13:24:01 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 76B7912081F; Wed, 24 Apr 2019 16:23:59 -0400 (-04) Date: Wed, 24 Apr 2019 16:23:59 -0400 From: Alvaro Herrera To: pabloa98 Cc: "pgsql-generallists.postgresql.org" Subject: Re: how to add more than 1600 columns in a table? Message-ID: <20190424202359.GA2558@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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