Replace open mode with PG_BINARY_R/W/A macros - Mailing list pgsql-hackers

From Japin Li
Subject Replace open mode with PG_BINARY_R/W/A macros
Date
Msg-id MEYP282MB166903630275709B0FFF5956B6F39@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: Replace open mode with PG_BINARY_R/W/A macros  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi, hackers

I found we defined PG_BINARY_R/W/A macros for opening files, however,
there are some places use the constant strings.  IMO we should use
those macros instead of constant strings.  Here is a patch for it.
Any thoughts?

-- 
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.


Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: TRAP: FailedAssertion("HaveRegisteredOrActiveSnapshot()", File: "toast_internals.c", Line: 670, PID: 19403)
Next
From: Mohammad Zain Abbas
Date:
Subject: GSoC: Database Load Stress Benchmark (2022)