Re: define PG_REPLSLOT_DIR

Поиск
Список
Период
Сортировка
От Bertrand Drouvot
Тема Re: define PG_REPLSLOT_DIR
Дата
Msg-id ZsTDr9fJGiwbzGsc@ip-10-97-1-34.eu-west-3.compute.internal
обсуждение исходный текст
Ответ на Re: define PG_REPLSLOT_DIR  (Yugo Nagata <nagata@sraoss.co.jp>)
Список pgsql-hackers
Hi,

On Tue, Aug 20, 2024 at 09:30:48PM +0900, Yugo Nagata wrote:
> Should be the follwing also rewritten using sizeof(PG_REPLSLOT_DIR)?
> 
>    struct stat statbuf;
>     char        path[MAXPGPATH * 2 + 12];
> 
> 

Yeah, done in v3 that I just shared up-thread (also removed the macros from
the comments).

Thanks!

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



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