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 1goQ4x-0005rF-Vg for pgsql-general@arkaria.postgresql.org; Tue, 29 Jan 2019 09:53:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1goQ4w-000530-P6 for pgsql-general@arkaria.postgresql.org; Tue, 29 Jan 2019 09:53:14 +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 1goQ4w-0004xX-EP for pgsql-general@lists.postgresql.org; Tue, 29 Jan 2019 09:53:14 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goQ4t-0007NU-Gr for pgsql-general@lists.postgresql.org; Tue, 29 Jan 2019 09:53:14 +0000 Received: from [192.168.127.1] (port=56347 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1goQ4r-0003iJ-LP; Tue, 29 Jan 2019 09:53:09 +0000 Received: from [127.0.0.1] (port=44100 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1goQ4q-000L2D-U3; Tue, 29 Jan 2019 09:53:09 +0000 From: Andrew Gierth To: pabloa98 Cc: pgsql-general@lists.postgresql.org Subject: Re: postgresql v11.1 Segmentation fault: signal 11: by running SELECT... JIT Issue? In-Reply-To: (pabloa's message of "Tue, 29 Jan 2019 00:38:38 -0800") Message-ID: <87tvhrhkz7.fsf@news-spur.riddles.org.uk> References: <8736pbj449.fsf@news-spur.riddles.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Tue, 29 Jan 2019 09:53:08 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "pabloa98" == pabloa98 writes: pabloa98> I found this article: pabloa98> https://manual.limesurvey.org/Instructions_for_increasing_the_maximum_number_of_columns_in_PostgreSQL_on_Linux Those instructions contain obvious errors. pabloa98> It seems I should modify: uint8 t_hoff; pabloa98> and replace it with something like: uint32 t_hoff; or uint64 t_hoff; At the very least, that ought to be uint16 t_hoff; since there is never any possibility of hoff being larger than 32k since that's the largest allowed pagesize. However, if you modify that, it's then up to you to ensure that all the code that assumes it's a uint8 is found and fixed. I have no idea what else would break. -- Andrew (irc:RhodiumToad)