Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YDbVT-0002q4-Q7 for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Jan 2015 16:18:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YDbVT-0006jg-Aw for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Jan 2015 16:18:19 +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 1YDbVS-0006ja-8x for pgsql-hackers@postgresql.org; Tue, 20 Jan 2015 16:18:18 +0000 Received: from outmail148093.authsmtp.net ([62.13.148.93]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YDbVO-0004fC-4u for pgsql-hackers@postgresql.org; Tue, 20 Jan 2015 16:18:17 +0000 Received: from mail-c237.authsmtp.com (mail-c237.authsmtp.com [62.13.128.237]) by punt14.authsmtp.com (8.14.2/8.14.2) with ESMTP id t0KGIADt043217; Tue, 20 Jan 2015 16:18:10 GMT Received: from alvin.alvh.no-ip.org (client-186-37-50-128.imovil.entelpcs.cl [186.37.50.128] (may be forged)) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id t0KGHve7070097; Tue, 20 Jan 2015 16:18:01 GMT Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 1A0995B8; Tue, 20 Jan 2015 13:18:17 -0300 (CLST) Date: Tue, 20 Jan 2015 13:18:17 -0300 From: Alvaro Herrera To: Robert Haas Cc: Tom Lane , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Disable -faggressive-loop-optimizations in gcc 4.8+ for pre-9.2 Message-ID: <20150120161817.GO1663@alvh.no-ip.org> References: <20150120153020.GN1663@alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Server-Quench: ea143454-a0bf-11e4-9f74-002590a135d3 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZcSBoa BzkeAQdJTRslYBtL RB4bawxAL0wMSABN M15eIxoIcUtGHRZ7 UjgUWVRVVU1wX2l0 YwBRaEtcakxQXAJ0 VUhXQ1BaCwBgBgMB SFoeKW4KMVBBeHlw ZU9lEHdfXEU0IBd8 Rk1QEGkbNGcyPn0e URVcagoCdwdXfh9H b1l/BXIOZDEEKBg1 TUcAHxkaHhhlExEd eAxfZWE5ZmMuPwIA aio5KH03ElYcQ3d7 Ax09I1QYESRZd0s7 PlQ7VEkDMgEfTwlZ GFkIBzdFJlwAVSM3 DARcRgYfFnVSSiwU Xlt4YVdGBSYaQjBV QRoDEXkA X-Authentic-SMTP: 61633235383639.1024:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 186.37.50.128/587 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas wrote: > > Would anybody object to me pushing this commit to branches 8.2 and 8.3? > > Since those branches are out of support, I am not sure what the point > is. If we want people to be able to use those branches reasonably we > need to back-port fixes for critical security and stability issues, > not just this one thing. > > But maybe I am missing something. I just want to make it easy to compile those branches with current toolset so that I can study their behavior to suggest workarounds for customer problems etc -- nothing more. I am not proposing to open them up again for support. Of course, I can carry the patched branches locally if there is strong opposition, but since it's harmless, I don't see why would there be any such. Another easy workaround is to add -O0 to CFLAGS, and I can script that easily too. Without this patch or -O0, initdb fails with inicializando pg_authid ... FATAL: wrong number of index expressions SENTENCIA: CREATE TRIGGER pg_sync_pg_database AFTER INSERT OR UPDATE OR DELETE ON pg_database FOR EACH STATEMENT EXECUTE PROCEDURE flatfile_update_trigger(); There is the additional problem that contrib/cube fails to compile, but I don't care enough about that one: /pgsql/source/REL8_3_STABLE/contrib/cube/cubeparse.y:61:17: error: ‘result’ undeclared (first use in this function) *((void **)result) = write_box( dim, $2, $4 ); ^ -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers