Re: turn fastgetattr and heap_getattr to inline functions
От
Alvaro Herrera
Тема
Re: turn fastgetattr and heap_getattr to inline functions
Дата
Msg-id
202203241705.rrrap6cqvpzr@alvherre.pgsql
Ответ на
Re: turn fastgetattr and heap_getattr to inline functions (Peter Eisentraut)
Список
Дерево обсуждения
turn fastgetattr and heap_getattr to inline functions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: turn fastgetattr and heap_getattr to inline functions Michael Paquier <michael@paquier.xyz>
Re: turn fastgetattr and heap_getattr to inline functions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: turn fastgetattr and heap_getattr to inline functions Japin Li <japinli@hotmail.com>
Re: turn fastgetattr and heap_getattr to inline functions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: turn fastgetattr and heap_getattr to inline functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: turn fastgetattr and heap_getattr to inline functions Japin Li <japinli@hotmail.com>
Re: turn fastgetattr and heap_getattr to inline functions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: turn fastgetattr and heap_getattr to inline functions Japin Li <japinli@hotmail.com>
Re: turn fastgetattr and heap_getattr to inline functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: turn fastgetattr and heap_getattr to inline functions Alvaro Herrera <alvherre@alvh.no-ip.org>
On 2022-Mar-24, Peter Eisentraut wrote:
> But no compiler is stupid enough not to understand that
>
> foo()
> {
> if (something)
> return this;
> else
> return that;
> }
>
> always reaches a return.
We have a number of examples of this pattern, so I guess it must be
true. Pushed without the pg_unreachables, then.
--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"Las navajas y los monos deben estar siempre distantes" (Germán Poo)
В списке pgsql-hackers по дате отправления