Re: [BUGS] BUG #14897: Segfault on statitics SQL request

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Dmitry Dolgov <9erthalion6@gmail.com>, Andres Freund <andres@anarazel.de>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, Vincent Lachenal <vincent.lachenal@gmail.com>, PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Date: 2017-11-14T22:55:03Z
Lists: pgsql-bugs
I wrote:
> That is, even if configure finds an int128 type, we'll only use it if
> it fits or can be made to fit into our system-wide MAXALIGN assumption.
> ...
> Barring objections, I'll get on with making this happen.

I've pushed fixes along this line into the affected branches.

Anybody who's looking for a quick-hack fix might be better advised
to use the short patch I posted upthread, though.

			regards, tom lane


Commits

  1. Prevent int128 from requiring more than MAXALIGN alignment.

  2. Rearrange c.h to create a "compiler characteristics" section.