Don't use spi_priv.h in plpython.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Jan 2013 01:11:58 +0000 (20:11 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Jan 2013 01:11:58 +0000 (20:11 -0500)
There may once have been a reason to violate modularity like that,
but it doesn't appear that there is anymore.

src/pl/plpython/plpy_spi.c

index a65af37e657ca5ac9935bc3b70e314617209f5be..c9182eb71a3002b605988e4c775ac7d5113a5653 100644 (file)
@@ -9,7 +9,7 @@
 #include "access/htup_details.h"
 #include "access/xact.h"
 #include "catalog/pg_type.h"
-#include "executor/spi_priv.h"
+#include "executor/spi.h"
 #include "mb/pg_wchar.h"
 #include "parser/parse_type.h"
 #include "utils/memutils.h"