diff options
| author | Alvaro Herrera | 2012-08-30 20:15:44 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2012-08-30 20:52:35 +0000 |
| commit | c219d9b0a55bcdf81b00da6bad24ac2bf3e53d20 (patch) | |
| tree | d3130101cfa437376e15c1d0d835e102e439104a /src/pl/plpython | |
| parent | 381a9ed66d8a601eb972be172e7251ca7f0e9d78 (diff) | |
Split tuple struct defs from htup.h to htup_details.h
This reduces unnecessary exposure of other headers through htup.h, which
is very widely included by many files.
I have chosen to move the function prototypes to the new file as well,
because that means htup.h no longer needs to include tupdesc.h. In
itself this doesn't have much effect in indirect inclusion of tupdesc.h
throughout the tree, because it's also required by execnodes.h; but it's
something to explore in the future, and it seemed best to do the htup.h
change now while I'm busy with it.
Diffstat (limited to 'src/pl/plpython')
| -rw-r--r-- | src/pl/plpython/plpy_exec.c | 1 | ||||
| -rw-r--r-- | src/pl/plpython/plpy_main.c | 1 | ||||
| -rw-r--r-- | src/pl/plpython/plpy_procedure.c | 1 | ||||
| -rw-r--r-- | src/pl/plpython/plpy_spi.c | 1 | ||||
| -rw-r--r-- | src/pl/plpython/plpy_typeio.c | 1 | ||||
| -rw-r--r-- | src/pl/plpython/plpy_typeio.h | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/src/pl/plpython/plpy_exec.c b/src/pl/plpython/plpy_exec.c index 96ee26c35c..b2425edd6b 100644 --- a/src/pl/plpython/plpy_exec.c +++ b/src/pl/plpython/plpy_exec.c @@ -6,6 +6,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "access/xact.h" #include "catalog/pg_type.h" #include "commands/trigger.h" diff --git a/src/pl/plpython/plpy_main.c b/src/pl/plpython/plpy_main.c index 494ec37ea7..8b61f1a972 100644 --- a/src/pl/plpython/plpy_main.c +++ b/src/pl/plpython/plpy_main.c @@ -6,6 +6,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "catalog/pg_proc.h" #include "catalog/pg_type.h" #include "commands/trigger.h" diff --git a/src/pl/plpython/plpy_procedure.c b/src/pl/plpython/plpy_procedure.c index 7fb5f00e0f..a28cb9a41f 100644 --- a/src/pl/plpython/plpy_procedure.c +++ b/src/pl/plpython/plpy_procedure.c @@ -6,6 +6,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "access/transam.h" #include "funcapi.h" #include "catalog/pg_proc.h" diff --git a/src/pl/plpython/plpy_spi.c b/src/pl/plpython/plpy_spi.c index 00156e6658..a65af37e65 100644 --- a/src/pl/plpython/plpy_spi.c +++ b/src/pl/plpython/plpy_spi.c @@ -6,6 +6,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "access/xact.h" #include "catalog/pg_type.h" #include "executor/spi_priv.h" diff --git a/src/pl/plpython/plpy_typeio.c b/src/pl/plpython/plpy_typeio.c index 2cc7bbbd4d..2402c151a4 100644 --- a/src/pl/plpython/plpy_typeio.c +++ b/src/pl/plpython/plpy_typeio.c @@ -6,6 +6,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "access/transam.h" #include "catalog/pg_type.h" #include "funcapi.h" diff --git a/src/pl/plpython/plpy_typeio.h b/src/pl/plpython/plpy_typeio.h index d2dfa66e0b..82e472a312 100644 --- a/src/pl/plpython/plpy_typeio.h +++ b/src/pl/plpython/plpy_typeio.h @@ -6,6 +6,7 @@ #define PLPY_TYPEIO_H #include "access/htup.h" +#include "access/tupdesc.h" #include "fmgr.h" #include "storage/itemptr.h" |
