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 1hJQtN-00077i-QR for pgsql-general@arkaria.postgresql.org; Wed, 24 Apr 2019 23:01:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hJQtL-0008Tx-QD for pgsql-general@arkaria.postgresql.org; Wed, 24 Apr 2019 23:01:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJQtL-0008Rz-Fy for pgsql-general@lists.postgresql.org; Wed, 24 Apr 2019 23:01:27 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJQtE-0006FK-B4 for pgsql-general@lists.postgresql.org; Wed, 24 Apr 2019 23:01:26 +0000 Received: by mail-qt1-x843.google.com with SMTP id w26so15568153qto.13 for ; Wed, 24 Apr 2019 16:01:19 -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=IW69wg5Nrn+BjDVtIe9MDAxK75HGpUyxK7rI5gINMF4=; b=kEKFxpiCy6ox5BxM1EyqsaC+JFk/9CanApLCDtdZAaNq67tf4kV1iBpwK89a5yqDUu qPCvxRJaJXBAM0wfPe9KxydTuvjwETwdrTO1cV0U54yKGtvwZ1BllToUfNExhT1jegB2 Go2DU/dPKn6fS/0HQNh7AAElzC7lP3oCJjqB72tfpnkdvXq5Wv356uJASiML4IHD5F3C dtD0o6q8JcSSFIJZG1zyYSQli+YSGrYtwzCnDvr0y8+n8N/vhDNy0HamR5F47zbiLBOB JkXhI228sJ9WLfpFXnI7LPj/2njbFeeN3zmSFYmWQe+kCst3mawSwwJPNN3bhDF5NGHp 6rxA== 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=IW69wg5Nrn+BjDVtIe9MDAxK75HGpUyxK7rI5gINMF4=; b=Wa92qChO11K7mBlSH8NY2eJaK0Vrb6pppUwBXxZKHe2gPdgFNFSmAEFmrn19VtOnC5 NLvpeG8/QeCoEU+6svU0u2NjdvcJ4aymEDayMt5ooYxrrkG3VlPZhdL2LkmoInHr6mrp Rs9PGU+/UHfmHmLwVX2pWE5GQnjQhdXe0l1ffF0iTGhIhrOXf+kJg8ig4nBt9m0HRjDd 62nZYt1j/Nl3XjUSgOQqh21pJVe2XE2ZTG6vdvxW9aN5cOFdIqx68PW3qL7qF4VW0Fdg wRLSPF0xCIm+TvbsOh0vhoSct5SJSK+IxdK1AhLK2heEzlMxxcoHEAM0WKMzhsIy074I mWCg== X-Gm-Message-State: APjAAAWSVSFOIcs4y7Oyd2iJK3OW//unbiHRe0w3oq98bkCYbl6mAZbG KwSXT/LDlvfPtUQO45Wz3xp6Lw== X-Google-Smtp-Source: APXvYqyCBDe4pT9tdbk4tI+4o8Jfk8y7ka+qXW+HsSCMnlXhv5B3cmEZOd/nvP259WieCYLTinMtPg== X-Received: by 2002:a0c:96fd:: with SMTP id b58mr28368959qvd.134.1556146878634; Wed, 24 Apr 2019 16:01:18 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id n66sm6584230qkf.49.2019.04.24.16.01.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Apr 2019 16:01:18 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id B60DC1207D0; Wed, 24 Apr 2019 19:01:15 -0400 (-04) Date: Wed, 24 Apr 2019 19:01:15 -0400 From: Alvaro Herrera To: pabloa98 Cc: Gavin Flower , Joe Conway , "pgsql-generallists.postgresql.org" Subject: Re: how to add more than 1600 columns in a table? Message-ID: <20190424230115.GA8863@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190424225519.GA8439@alvherre.pgsql> 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, Alvaro Herrera wrote: > Note that with pg12 you could have your own table AM that supported > wider ItemIds as a (small?) change on heapam, rather than supplant it > for all tables. That way you would only pay the (probably considerable) > cost of the wider line pointers on all tables ... "That way you would only pay the (probably considerable) cost of the wider line pointers on the tables that need it rather than all of them." -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services