pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: pabloa98 <pabloa98@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: postgresql v11.1 Segmentation fault: signal 11: by running SELECT... JIT Issue?
Date: Tue, 29 Jan 2019 09:53:08 +0000
Message-ID: <87tvhrhkz7.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CAEjudX5LiF2XbTuhQ7KQK1ODSNcKz5ezOsT9jWyXZ2knN=wpuw@mail.gmail.com>
References: <CAEjudX7dAtx8vJmGXJuOqGkdjOY=-OPQ+sW4WQG1MhXVL2uH+w@mail.gmail.com>
	<8736pbj449.fsf@news-spur.riddles.org.uk>
	<CAEjudX7=Lvwh+viagYetGJKMQgKMGinrPQTshhgAQXCd=eeAog@mail.gmail.com>
	<CAEjudX5LiF2XbTuhQ7KQK1ODSNcKz5ezOsT9jWyXZ2knN=wpuw@mail.gmail.com>

>>>>> "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_PostgreSQ...

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)




view thread (11+ messages)  latest in thread

Message-ID: <87tvhrhkz7.fsf@news-spur.riddles.org.uk>
Permalink:  ../87tvhrhkz7.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87tvhrhkz7.fsf@news-spur.riddles.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, pabloa98@gmail.com
  Subject: Re: postgresql v11.1 Segmentation fault: signal 11: by running SELECT... JIT Issue?
  In-Reply-To: <87tvhrhkz7.fsf@news-spur.riddles.org.uk>
  References: <CAEjudX7dAtx8vJmGXJuOqGkdjOY=-OPQ+sW4WQG1MhXVL2uH+w@mail.gmail.com> <8736pbj449.fsf@news-spur.riddles.org.uk> <CAEjudX7=Lvwh+viagYetGJKMQgKMGinrPQTshhgAQXCd=eeAog@mail.gmail.com> <CAEjudX5LiF2XbTuhQ7KQK1ODSNcKz5ezOsT9jWyXZ2knN=wpuw@mail.gmail.com> <87tvhrhkz7.fsf@news-spur.riddles.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox