diff options
author | Thomas Munro <tmunro@postgresql.org> | 2023-02-22 09:53:15 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2023-02-22 09:55:43 +1300 |
commit | a1f45f69bbfc4b44c8adb708e4a4f6db65a67a64 (patch) | |
tree | fe8372dd60d187dcd3ff1da40b79ba5169f423e6 /src/backend/executor/nodeModifyTable.c | |
parent | 8427ce4c379ee3774b8a9aca13ca7f4bfb76ba85 (diff) | |
download | postgresql-a1f45f69bbfc4b44c8adb708e4a4f6db65a67a64.tar.gz postgresql-a1f45f69bbfc4b44c8adb708e4a4f6db65a67a64.zip |
Remove obsolete coding for early macOS.
Commits 04cad8f7 and 0c088568 supported old macOS systems that didn't
define O_CLOEXEC or O_DSYNC yet, but those arrived in macOS releases
10.7 and 10.6 (respectively), which themselves reached EOL around a
decade ago. We've already made use of other POSIX features that early
macOS vintages can't compile (for example commits 623cc673, d2e15083).
A later commit will use O_CLOEXEC on POSIX systems so it would be
strange to pretend here that it's optional, and we might as well give
O_DSYNC the same treatment since the reference is also guarded by a test
for a macOS-specific macro, and we know that current Macs have it.
Discussion: https://postgr.es/m/CA%2BhUKGKb6FsAdQWcRL35KJsftv%2B9zXqQbzwkfRf1i0J2e57%2BhQ%40mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions