Re: pgsql: Hand code string to integer conversion for performance.

From: Andres Freund <andres(at)anarazel(dot)de>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Hand code string to integer conversion for performance.
Date: 2018-07-24 17:11:44
Message-ID: 20180724171144.rjak6wbtpw7naj2o@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 2018-07-24 22:10:09 +1200, David Rowley wrote:
> On 23 July 2018 at 10:30, Andres Freund <andres(at)anarazel(dot)de> wrote:
> > Hand code string to integer conversion for performance.
>
> This could do with the attached to silence the compiler warnings from
> compilers that don't understand ereport(ERROR) does not return.

Pushed. Not sure if any of those do enough control flow analysis to
even consider those blocks reachable? But anyway, doesn't hurt.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-07-24 17:52:02 pgsql: doc: Fix reference to "decoder" to instead be the correct "outpu
Previous Message Andres Freund 2018-07-24 17:10:57 pgsql: Defend against some potential spurious compiler warnings in 86ea