Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VinGE-0001ns-5x for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Nov 2013 15:30:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VinGD-0002Fy-Lh for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Nov 2013 15:30:41 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VinGC-0002Fm-EV for pgsql-hackers@postgresql.org; Tue, 19 Nov 2013 15:30:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VinG8-0007Xr-K0 for pgsql-hackers@postgresql.org; Tue, 19 Nov 2013 15:30:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id rAJFUOnc009179; Tue, 19 Nov 2013 10:30:24 -0500 From: Tom Lane To: Peter Eisentraut cc: Robert Haas , Andres Freund , Peter Geoghegan , Pg Hackers , Ants Aasma Subject: Re: better atomics - v0.2 In-reply-to: <528B801D.5010609@gmx.net> References: <20131115200416.GH5489@awork2.anarazel.de> <8392.1384873040@sss.pgh.pa.us> <528B801D.5010609@gmx.net> Comments: In-reply-to Peter Eisentraut message dated "Tue, 19 Nov 2013 10:13:33 -0500" Date: Tue, 19 Nov 2013 10:30:24 -0500 Message-ID: <9178.1384875024@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) 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 Peter Eisentraut writes: > On 11/19/13, 9:57 AM, Tom Lane wrote: >> Hm. Now that I think about it, isn't Peter proposing to break systems >> without working "inline" over here? >> http://www.postgresql.org/message-id/1384257026.8059.5.camel@vanquo.pezone.net > No, that's about const, volatile, #, and memcmp. Ah, sorry, not enough caffeine absorbed yet. Still, we should stop to think about whether this represents an undesirable move of the portability goalposts. The first three of these are certainly compiler issues, and I personally don't have a problem with blowing off compilers that still haven't managed to implement all of C89 :-(. I'm not clear on which systems had the memcmp issue --- do we have the full story on that? > I don't have an informed opinion about requiring inline support > (although it would surely be nice). inline is C99, and we've generally resisted requiring C99 features. Maybe it's time to move that goalpost, and maybe not. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers