Re: make pg_attribute_noreturn() work for msvc?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: make pg_attribute_noreturn() work for msvc?
Дата
Msg-id CA+TgmobMZ0xZ4sSsEsdE9p8OQDqJXvRw0C_6smbc7a31JkMNOQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: make pg_attribute_noreturn() work for msvc?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Wed, Nov 13, 2019 at 11:28 AM Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> On 2019-Nov-12, Andres Freund wrote:
> > > Anyway, I still like the idea of merging the void keyword in with
> > > that.
> >
> > Hm. Any other opinions?
>
> Although it feels very strange to me at first glance, one only has to
> learn the trick once.  My initial inclination was not to do it, but I'm
> kinda +0.1 after thinking some more about it.

I don't care much about this either way, but I think I might be
slightly more inclined to keep them separate.  If we went the
direction of combining them, it might be clearer if the magic word
included "void" someplace inside of it, like:

extern void_noreturn thunk(void);

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Creating foreign key on partitioned table is too slow
Следующее
От: Robert Haas
Дата:
Сообщение: Re: JIT performance bug/regression & JIT EXPLAIN