summaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpy_spi.h
diff options
context:
space:
mode:
authorTom Lane2018-02-16 17:14:08 +0000
committerTom Lane2018-02-16 17:14:08 +0000
commit49bff412edd9eb226e146f6e4db7b5a8e843bd1f (patch)
treeb8a4e408049f34a5f519a3952468d33f250e77cb /src/pl/plpython/plpy_spi.h
parent2fb1abaeb016aeb45b9e6d0b81b7a7e92bb251b9 (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_spi.h')
-rw-r--r--src/pl/plpython/plpy_spi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pl/plpython/plpy_spi.h b/src/pl/plpython/plpy_spi.h
index d6b0a4707bc..5a0eef78dcd 100644
--- a/src/pl/plpython/plpy_spi.h
+++ b/src/pl/plpython/plpy_spi.h
@@ -5,7 +5,6 @@
#ifndef PLPY_SPI_H
#define PLPY_SPI_H
-#include "utils/palloc.h"
#include "utils/resowner.h"
extern PyObject *PLy_spi_prepare(PyObject *self, PyObject *args);