Fix typo in reference to __FreeBSD__.
Thomas Munro <tmunro@postgresql.org>
Fix typo in reference to __FreeBSD__. Commit a2a8acd152 introduced a platform-dependent mechanism to prevent developers from referencing errno in the argument list of elog()/ereport(), but didn't use the right macro to detect FreeBSD, so it didn't actually work there. Reported-by: Japin Li <japinli@hotmail.com> Discussion: https://postgr.es/m/MEYP282MB16693AAEEF84F47D8F7CA007B6E69%40MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Files
| Path | Change | +/− |
|---|---|---|
| src/include/utils/elog.h | modified | +1 −1 |
Discussion
- Typo macro name on FreeBSD? 3 messages · 2022-12-16