Re: [PATCH] Extend the length of BackgroundWorker.bgw_library_name

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: [PATCH] Extend the length of BackgroundWorker.bgw_library_name
Дата
Msg-id CAJ7c6TOBuJYKZ=ZCGMt3OM51RA_4QmbP+NRv41bcjtQyOqq5YA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Extend the length of BackgroundWorker.bgw_library_name  (Yurii Rashkovskii <yrashk@gmail.com>)
Ответы Re: [PATCH] Extend the length of BackgroundWorker.bgw_library_name  (Yurii Rashkovskii <yrashk@gmail.com>)
Список pgsql-hackers
Hi,

> This is a very good catch and a suggestion. I've slightly reworked the patch, and I also made this static assertion
tohave less indirection and, therefore, make it easier to understand the premise.
 
> Version 2 is attached.

```
sizeof((BackgroundWorker *)NULL)->bgw_library_name
```

I'm pretty confident something went wrong with the parentheses in v2.


-- 
Best regards,
Aleksander Alekseev



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

Предыдущее
От: "Imseih (AWS), Sami"
Дата:
Сообщение: Re: Correct the documentation for work_mem
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Move un-parenthesized syntax docs to "compatibility" for few SQL commands