Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YZbFr-0007cd-2c for pgsql-bugs@arkaria.postgresql.org; Sun, 22 Mar 2015 08:29:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YZbFp-0001JM-7i for pgsql-bugs@arkaria.postgresql.org; Sun, 22 Mar 2015 08:29:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YZbFn-0001JD-9E for pgsql-bugs@postgresql.org; Sun, 22 Mar 2015 08:29:03 +0000 Received: from mail.pcorp.us ([204.51.253.130]) by magus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YZbFd-00050s-BW for pgsql-bugs@postgresql.org; Sun, 22 Mar 2015 08:29:01 +0000 Received: from R (50-78-240-110-static.hfc.comcastbusiness.net [50.78.240.110]) by mail.pcorp.us ; Sun, 22 Mar 2015 04:28:50 -0400 From: "Paragon Corporation" To: "'Tom Lane'" Cc: Subject: Re: BUG #12869: PostGIS 2.2 can't compile against 9.5 dev branch Date: Sun, 22 Mar 2015 04:28:49 -0400 Message-ID: <001c01d0647a$397bb260$ac731720$@pcorp.us> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdBkejXUfyNgDarYRCSYlzg5gTKfew== Content-Language: en-us X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org > According to the C and POSIX standards, DBL_DIG is defined by . > It sounds like you were indirectly depending on some Postgres header to > #include that, and said header no longer does. I'm not sure what bit > of refactoring might've had such an effect, but it doesn't much matter > --- you really ought to #include for yourself. Tom, Thanks for the response. We were able to fix that issue by adding a that was missing in one of our files. That unfortunately unearthed another failure when it got to regression testing which I have logged here: http://trac.osgeo.org/postgis/ticket/3080 It seems that under some conditions functions are being called multiple times causing additional NOTICES to be emitted. This is causing a failure in one of our raster tests. In prior versions they were emitted only once (I assume they were only called once). I've come up with a simple example that doesn't involve PostGIS to replicate the issue. CREATE OR REPLACE FUNCTION dummy_notice(variadic integer[]) RETURNS integer[] AS $$ BEGIN RAISE NOTICE 'This is a dummy notice'; RETURN $1; END; $$ language plpgsql IMMUTABLE STRICT; SELECT v[1] As v1, v[2] As v2, v[3] As v3 FROM (SELECT dummy_notice(1,2,3) As v) As t; In prior versions of PostgreSQL, this simple test would just emit: NOTICE: This is a dummy notice In PostgreSQL 9.5 as of when I had reported the original issue, it emits for every single column in the outter output. NOTICE: This is a dummy notice NOTICE: This is a dummy notice NOTICE: This is a dummy notice I presume that means the dummy_notice function is now being called 3 times for the above. This behavior started when I reported the float issue and is still doing that with latest PostgreSQL 9.5 snapshot. I'm not sure if this is an intended change or a side-effect of something else that needs checking. Thanks, Regina -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs