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/backend/parser | |
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/backend/parser')
-rw-r--r-- | src/backend/parser/parse_coerce.c | 1 | ||||
-rw-r--r-- | src/backend/parser/parse_func.c | 1 | ||||
-rw-r--r-- | src/backend/parser/parse_node.c | 1 | ||||
-rw-r--r-- | src/backend/parser/parse_oper.c | 1 | ||||
-rw-r--r-- | src/backend/parser/parse_relation.c | 1 | ||||
-rw-r--r-- | src/backend/parser/parse_type.c | 1 | ||||
-rw-r--r-- | src/backend/parser/parse_utilcmd.c | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/src/backend/parser/parse_coerce.c b/src/backend/parser/parse_coerce.c index a1caf74fc53..f477730ad53 100644 --- a/src/backend/parser/parse_coerce.c +++ b/src/backend/parser/parse_coerce.c @@ -14,6 +14,7 @@ */ #include "postgres.h" +#include "access/htup_details.h" #include "catalog/pg_cast.h" #include "catalog/pg_class.h" #include "catalog/pg_inherits_fn.h" diff --git a/src/backend/parser/parse_func.c b/src/backend/parser/parse_func.c index 2b1a13a693e..8bd88b022ff 100644 --- a/src/backend/parser/parse_func.c +++ b/src/backend/parser/parse_func.c @@ -14,6 +14,7 @@ */ #include "postgres.h" +#include "access/htup_details.h" #include "catalog/pg_proc.h" #include "catalog/pg_type.h" #include "funcapi.h" diff --git a/src/backend/parser/parse_node.c b/src/backend/parser/parse_node.c index 6aaeae76b0a..2e9fad0f977 100644 --- a/src/backend/parser/parse_node.c +++ b/src/backend/parser/parse_node.c @@ -15,6 +15,7 @@ #include "postgres.h" #include "access/heapam.h" +#include "access/htup_details.h" #include "catalog/pg_type.h" #include "mb/pg_wchar.h" #include "nodes/makefuncs.h" diff --git a/src/backend/parser/parse_oper.c b/src/backend/parser/parse_oper.c index bb5f04031d5..c92a976d24a 100644 --- a/src/backend/parser/parse_oper.c +++ b/src/backend/parser/parse_oper.c @@ -15,6 +15,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "catalog/pg_operator.h" #include "catalog/pg_type.h" #include "lib/stringinfo.h" diff --git a/src/backend/parser/parse_relation.c b/src/backend/parser/parse_relation.c index d9c73ae5a7c..36d95eb9ee9 100644 --- a/src/backend/parser/parse_relation.c +++ b/src/backend/parser/parse_relation.c @@ -16,6 +16,7 @@ #include <ctype.h> +#include "access/htup_details.h" #include "access/sysattr.h" #include "catalog/heap.h" #include "catalog/namespace.h" diff --git a/src/backend/parser/parse_type.c b/src/backend/parser/parse_type.c index cf2ff0cf70a..978ec7c9731 100644 --- a/src/backend/parser/parse_type.c +++ b/src/backend/parser/parse_type.c @@ -14,6 +14,7 @@ */ #include "postgres.h" +#include "access/htup_details.h" #include "catalog/namespace.h" #include "catalog/pg_type.h" #include "lib/stringinfo.h" diff --git a/src/backend/parser/parse_utilcmd.c b/src/backend/parser/parse_utilcmd.c index accda01f457..95c57e81b58 100644 --- a/src/backend/parser/parse_utilcmd.c +++ b/src/backend/parser/parse_utilcmd.c @@ -26,6 +26,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "access/reloptions.h" #include "catalog/dependency.h" #include "catalog/heap.h" |