Re: pgsql: Check for GiST index tuples that don't fit on a page.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Check for GiST index tuples that don't fit on a page.
Date: 2014-10-07 00:25:52
Message-ID: 1412641552.30485.11.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Sat, 2014-10-04 at 11:10 -0300, Alvaro Herrera wrote:
> I compiled 9.0 yesterday and there are a lot of warnings with my
> current
> compiler; something like -Werror is right out, I think. Maybe we can
> save warnings separately and have the member turn yellow if there are
> any, or something like that?

This is a very hard problem in depth.

You will get totally different warning counts per PostgreSQL version,
compiler production, compiler version, probably also different
architectures, different operating systems. See

https://speakerdeck.com/petere/static-analysis-test-coverage-and-other-12-plus-letter-words slide 6

for example.

Add in the general randomness and cruftiness of buildfarm machines, it's
a complete crap shoot.

Plus you'd need parsers for the output of all the different compilers.
See for example https://wiki.jenkins-ci.org/display/JENKINS/Warnings
+Plugin .

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2014-10-07 00:33:41 Re: pgsql: Check for GiST index tuples that don't fit on a page.
Previous Message Tom Lane 2014-10-06 18:32:56 pgsql: Stamp 9.4beta3.