From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Christian Ullrich <chris(at)chrullrich(dot)net>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: [COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c. |
Date: | 2016-03-30 00:15:39 |
Message-ID: | CAB7nPqQSd3qH3233xqYZmxXJSOdyO7bP-W72Onr211etKC74sw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Tue, Mar 29, 2016 at 11:20 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Christian Ullrich <chris(at)chrullrich(dot)net> 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.
Thanks for digging more than I did regarding this issue, things are
fixed on my side, and the buildfarm looks happy. Seeing EEXIST being
returned for a non-existing entry when calling link() really bugged
me, and the errno my patch looked at was set from another function
call and not link() itself...
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2016-03-30 00:19:58 | Re: [COMMITTERS] pgsql: Allow to_timestamp(float8) to convert float infinity to timestam |
Previous Message | Tom Lane | 2016-03-29 21:21:17 | pgsql: Fix interval_mul() to not produce insane results. |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2016-03-30 00:19:58 | Re: [COMMITTERS] pgsql: Allow to_timestamp(float8) to convert float infinity to timestam |
Previous Message | Michael Paquier | 2016-03-30 00:11:04 | Re: standby_schedule |