Re: Fix compiler warnings in Cube Extension - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix compiler warnings in Cube Extension
Date
Msg-id 21064.1451327891@sss.pgh.pa.us
Whole thread Raw
In response to Fix compiler warnings in Cube Extension  (David Rowley <david.rowley@2ndquadrant.com>)
Responses Re: Fix compiler warnings in Cube Extension  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-hackers
David Rowley <david.rowley@2ndquadrant.com> writes:
> My compiler is complaining about cube_coord() and cube_coord_llur() not
> returning a value on all code paths.

Yeah, looking at that code, this would be expected from any compiler
that doesn't know that ereport() doesn't return.  On it now.  The
documentation aspect of that commit leaves much to be desired as well.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: oldest/newestCommitTs output by pg_controldata
Next
From: Alvaro Herrera
Date:
Subject: Re: On columnar storage (2)