Re: postgresql v11.1 Segmentation fault: signal 11: by running SELECT... JIT Issue? - Mailing list pgsql-general

From Andrew Gierth
Subject Re: postgresql v11.1 Segmentation fault: signal 11: by running SELECT... JIT Issue?
Date
Msg-id 87tvhrhkz7.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: postgresql v11.1 Segmentation fault: signal 11: by runningSELECT... JIT Issue?  (pabloa98 <pabloa98@gmail.com>)
Responses Re: postgresql v11.1 Segmentation fault: signal 11: by runningSELECT... JIT Issue?
List pgsql-general
>>>>> "pabloa98" == pabloa98  <pabloa98@gmail.com> 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)


pgsql-general by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: postgresql v11.1 Segmentation fault: signal 11: by running SELECT... JIT Issue?
Next
From: Sathish Kumar
Date:
Subject: Anonymize Data