Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cen2f-0002XO-M4 for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Feb 2017 18:14:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cen2f-0002Mw-7P for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Feb 2017 18:14:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cen2d-0002MJ-Sx for pgsql-hackers@postgresql.org; Fri, 17 Feb 2017 18:14:00 +0000 Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cen2W-0003B6-VL for pgsql-hackers@postgresql.org; Fri, 17 Feb 2017 18:13:58 +0000 Received: by mail-qt0-x22e.google.com with SMTP id v23so47143379qtb.0 for ; Fri, 17 Feb 2017 10:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=rR+sLAX8JNptK8eRrF2z67ovGVm2EizRh1GF8s96jAc=; b=xLKV910aAQk24MBu4vzRho7XABTrFG/cKYXUqYMtLb60+cyohEzaA1Us3Ruqb5IuD3 aEaEGZOX2k66RzdxgFjVpCUAVB2RBW4da3F+6K75bXFNJSzMU2b+x4LkHZEUfmv+cKMs va1d0U1ceFNJTq7OdDzflsghJ5Y3e6sUHwFPfKKxAYZ7U1+zpnR+jXhgaUwH5q6NfoS6 3u+dwMniuU3YMaO29r4ieILFnJNgAjrgjxiAsYANwloTKki4YLjjwtxgKTI8WI2E2Hxp 1gZvWFEvLcmu9RK5KCWe1+d8rWXFX4siUmURR4111rZ10i3t3Q73up/fwLASXOuKllSV q5+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=rR+sLAX8JNptK8eRrF2z67ovGVm2EizRh1GF8s96jAc=; b=Dz8oKBJFKyWp030F+vbuMRcbFOVKxn/4i9IGFNzCDwU9nCWFgPpgNu70eKQDkTiS2s Qvfc5ee+2HlLtn/YavRWyJ/Xzvg1xAQwUfJB0VWmw57MMKR+99y3JdQejNo98cFkIxNa jfruMi63bI4Nf+rKk9rzxMntL+9PigOht67x7O9RFZlLd+nJT97Smr5lgrnwmbpP1GRC /zfacEwxDWRAsbiaf7aSi+Qvujdt8C1kTUPCB6tL+c/ECSrvKoL9V0v5Lp1hiy7pbiZg 31o5PCH/7Xw6gktirx+U4PAl/hsh20zMcy6KPmvj+XFZaA9Hxiqwwb8bfTTDEiwj9gs1 XkLw== X-Gm-Message-State: AMke39llV3MRH7s7tmiifcl6ZbhQig1UZ3KkxZjrvo74bT+ISxrY0zWHhSXYhxGNYclo+8/w X-Received: by 10.200.42.80 with SMTP id l16mr682145qtl.58.1487355231741; Fri, 17 Feb 2017 10:13:51 -0800 (PST) Received: from alvin.alvh.no-ip.org ([190.217.209.181]) by smtp.gmail.com with ESMTPSA id k19sm6966614qtf.37.2017.02.17.10.13.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Feb 2017 10:13:51 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 9A64188B; Fri, 17 Feb 2017 15:13:48 -0300 (CLST) Date: Fri, 17 Feb 2017 15:13:48 -0300 From: Alvaro Herrera To: Tom Lane Cc: Thomas Munro , Pg Hackers , Andrew Dunstan Subject: Re: pg_recvlogical.c doesn't build with --disable-integer-datetimes Message-ID: <20170217181348.a5pnflupslw2t6xx@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <29306.1487352105@sss.pgh.pa.us> User-Agent: NeoMutt/20170206-195-7adf12 (1.7.2) 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 Tom Lane wrote: > My own compilers don't generate errors either, only warnings. Maybe > we could catch this sort of thing mechanically with a critter configured > with -Werror as well as --disable-integer-datetimes, but I'm a tad > hesitant to have a buildfarm machine configured with -Werror. We'd > be raising the stakes quite a bit on keeping the code warning-free > for a specific compiler that might prove to be picky in silly ways. > > But if it were a pretty mainstream compiler that hadn't shown much > evidence of wanting to throw useless warnings, maybe that's fine. > > Thoughts? Note that Thomas' compiler was using -Werror. I think we're at a point where one gcc plus one clang animals set up with -Werror would be a good thing to have, and keep green. In practice, this list fulfills the role of such a compiler, only with much higher communication overhead. -- Álvaro Herrera https://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