diff options
author | Tom Lane | 2018-02-16 17:14:08 +0000 |
---|---|---|
committer | Tom Lane | 2018-02-16 17:14:08 +0000 |
commit | 49bff412edd9eb226e146f6e4db7b5a8e843bd1f (patch) | |
tree | b8a4e408049f34a5f519a3952468d33f250e77cb /src/pl/plpython/plpy_util.c | |
parent | 2fb1abaeb016aeb45b9e6d0b81b7a7e92bb251b9 (diff) |
Remove some inappropriate #includes.
Other header files should never #include postgres.h (nor postgres_fe.h,
nor c.h), per project policy. Also, there's no need for any backend .c
file to explicitly include elog.h or palloc.h, because postgres.h pulls
those in already.
Extracted from a larger patch by Kyotaro Horiguchi. The rest of the
removals he suggests require more study, but these are no-brainers.
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/pl/plpython/plpy_util.c')
-rw-r--r-- | src/pl/plpython/plpy_util.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pl/plpython/plpy_util.c b/src/pl/plpython/plpy_util.c index 35d57a9e80d..51e2461ec31 100644 --- a/src/pl/plpython/plpy_util.c +++ b/src/pl/plpython/plpy_util.c @@ -8,7 +8,6 @@ #include "mb/pg_wchar.h" #include "utils/memutils.h" -#include "utils/palloc.h" #include "plpython.h" |