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

Поиск
Список
Период
Сортировка
От Yurii Rashkovskii
Тема Re: [PATCH] Extend the length of BackgroundWorker.bgw_library_name
Дата
Msg-id CA+RLCQyTvhgMeGcR-JSQLtz9kRTz8LmXR=Jy_38Rjd3nmCEBRA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Extend the length of BackgroundWorker.bgw_library_name  (Aleksander Alekseev <aleksander@timescale.com>)
Ответы Re: [PATCH] Extend the length of BackgroundWorker.bgw_library_name  (Aleksander Alekseev <aleksander@timescale.com>)
Список pgsql-hackers
You're absolutely right. Here's v3.


On Mon, Apr 24, 2023 at 6:30 PM Aleksander Alekseev <aleksander@timescale.com> wrote:
Hi,

> This is a very good catch and a suggestion. I've slightly reworked the patch, and I also made this static assertion to have 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


--
Y.

Вложения

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

Предыдущее
От: Mat Arye
Дата:
Сообщение: Re: [PATCH] Support % wildcard in extension upgrade filenames
Следующее
От: "Regina Obe"
Дата:
Сообщение: RE: [PATCH] Support % wildcard in extension upgrade filenames