Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akuWn-0002XT-NB for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Mar 2016 14:21:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1akuWn-0003Yn-9t for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Mar 2016 14:21:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1akuVQ-0000jg-T7 for pgsql-hackers@postgresql.org; Tue, 29 Mar 2016 14:20:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1akuVN-00044u-TK for pgsql-hackers@postgresql.org; Tue, 29 Mar 2016 14:20:28 +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 u2TEKLAV000445; Tue, 29 Mar 2016 10:20:21 -0400 From: Tom Lane To: Christian Ullrich cc: michael.paquier@gmail.com, pgsql-hackers@postgresql.org Subject: Re: Re: [COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c. In-reply-to: <56FA8D1E.1090709@chrullrich.net> References: <32628.1459221714@sss.pgh.pa.us> <56FA0634.9020007@chrullrich.net> <14980.1459228179@sss.pgh.pa.us> <56FA28AD.3080604@chrullrich.net> <56FA4AA5.4030205@chrullrich.net> <31133.1459259312@sss.pgh.pa.us> <56FA8D1E.1090709@chrullrich.net> Comments: In-reply-to Christian Ullrich message dated "Tue, 29 Mar 2016 16:11:42 +0200" Date: Tue, 29 Mar 2016 10:20:21 -0400 Message-ID: <444.1459261221@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) 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 Christian Ullrich writes: > * Tom Lane wrote: >> But then, should not this code make sure that errno *always* gets set? > A library function that does not fail does not touch errno. Right, I meant "always in the error path". >> I'd be inclined to think we should use _dosmaperr(), too, rather than >> hand-coding it. > Yes, of course. If only I had known about it ... > New patch attached. This looks good, will push shortly. 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