Re: define PG_REPLSLOT_DIR - Mailing list pgsql-hackers

From Bertrand Drouvot
Subject Re: define PG_REPLSLOT_DIR
Date
Msg-id ZsTDr9fJGiwbzGsc@ip-10-97-1-34.eu-west-3.compute.internal
Whole thread Raw
In response to Re: define PG_REPLSLOT_DIR  (Yugo Nagata <nagata@sraoss.co.jp>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Test 041_checkpoint_at_promote.pl faild in installcheck due to missing injection_points
Next
From: Melih Mutlu
Date:
Subject: Re: ANALYZE ONLY