1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-28 05:21:27 +03:00

Don't use double-quotes in #include's of system headers.

While few if any C compilers will complain about this, it's
inconsistent with our other #include's of the same headers.

There are some other questionable usages in
src/include/jit/SectionMemoryManager.h and
src/pl/plperl/plperl_system.h, but perhaps those have a
reason to be like that.  I can't see that these do.

Noticed while fooling around with a script to do analysis
of our header cross-inclusions.
This commit is contained in:
Tom Lane 2025-04-26 20:30:27 -04:00
parent 936457419d
commit e8ca9ed1d2

View File

@ -17,11 +17,11 @@
#include <signal.h>
#ifdef HAVE_SYS_PRCTL_H
#include "sys/prctl.h"
#include <sys/prctl.h>
#endif
#ifdef HAVE_SYS_PROCCTL_H
#include "sys/procctl.h"
#include <sys/procctl.h>
#endif
/*