diff options
author | Peter Eisentraut | 2023-01-10 04:48:59 +0000 |
---|---|---|
committer | Peter Eisentraut | 2023-01-10 04:54:36 +0000 |
commit | d952373a987bad331c0e499463159dd142ced1ef (patch) | |
tree | a175cd4bc4eb775ba85472752eaab8c87e7a691f /contrib | |
parent | cd06ccd78fcf59dd6486b83e4fbf6c73be179523 (diff) |
New header varatt.h split off from postgres.h
This new header contains all the variable-length data types support
(TOAST support) from postgres.h, which isn't needed by large parts of
the backend code.
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/ddcce239-0f29-6e62-4b47-1f8ca742addf%40enterprisedb.com
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/citext/citext.c | 1 | ||||
-rw-r--r-- | contrib/cube/cubeparse.y | 1 | ||||
-rw-r--r-- | contrib/fuzzystrmatch/fuzzystrmatch.c | 1 | ||||
-rw-r--r-- | contrib/ltree/ltree_io.c | 1 | ||||
-rw-r--r-- | contrib/ltree/ltxtquery_io.c | 1 | ||||
-rw-r--r-- | contrib/pg_trgm/trgm_gin.c | 1 | ||||
-rw-r--r-- | contrib/pg_trgm/trgm_gist.c | 1 | ||||
-rw-r--r-- | contrib/pg_trgm/trgm_regexp.c | 1 | ||||
-rw-r--r-- | contrib/pgcrypto/pgcrypto.c | 1 | ||||
-rw-r--r-- | contrib/uuid-ossp/uuid-ossp.c | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/contrib/citext/citext.c b/contrib/citext/citext.c index df139462a65..976c578e1ce 100644 --- a/contrib/citext/citext.c +++ b/contrib/citext/citext.c @@ -8,6 +8,7 @@ #include "utils/builtins.h" #include "utils/formatting.h" #include "utils/varlena.h" +#include "varatt.h" PG_MODULE_MAGIC; diff --git a/contrib/cube/cubeparse.y b/contrib/cube/cubeparse.y index 44450d10274..b39fbe63e6b 100644 --- a/contrib/cube/cubeparse.y +++ b/contrib/cube/cubeparse.y @@ -9,6 +9,7 @@ #include "cubedata.h" #include "nodes/miscnodes.h" #include "utils/float.h" +#include "varatt.h" /* All grammar constructs return strings */ #define YYSTYPE char * diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.c b/contrib/fuzzystrmatch/fuzzystrmatch.c index 2a7e61c94c4..e1222714e4a 100644 --- a/contrib/fuzzystrmatch/fuzzystrmatch.c +++ b/contrib/fuzzystrmatch/fuzzystrmatch.c @@ -43,6 +43,7 @@ #include "mb/pg_wchar.h" #include "utils/builtins.h" #include "utils/varlena.h" +#include "varatt.h" PG_MODULE_MAGIC; diff --git a/contrib/ltree/ltree_io.c b/contrib/ltree/ltree_io.c index 56533172e32..5dce70bd1a6 100644 --- a/contrib/ltree/ltree_io.c +++ b/contrib/ltree/ltree_io.c @@ -11,6 +11,7 @@ #include "libpq/pqformat.h" #include "ltree.h" #include "utils/memutils.h" +#include "varatt.h" typedef struct diff --git a/contrib/ltree/ltxtquery_io.c b/contrib/ltree/ltxtquery_io.c index c95f94df810..d9910e6c992 100644 --- a/contrib/ltree/ltxtquery_io.c +++ b/contrib/ltree/ltxtquery_io.c @@ -12,6 +12,7 @@ #include "ltree.h" #include "miscadmin.h" #include "nodes/miscnodes.h" +#include "varatt.h" /* parser's states */ diff --git a/contrib/pg_trgm/trgm_gin.c b/contrib/pg_trgm/trgm_gin.c index 32fafef203f..29a52eac7af 100644 --- a/contrib/pg_trgm/trgm_gin.c +++ b/contrib/pg_trgm/trgm_gin.c @@ -7,6 +7,7 @@ #include "access/stratnum.h" #include "fmgr.h" #include "trgm.h" +#include "varatt.h" PG_FUNCTION_INFO_V1(gin_extract_trgm); PG_FUNCTION_INFO_V1(gin_extract_value_trgm); diff --git a/contrib/pg_trgm/trgm_gist.c b/contrib/pg_trgm/trgm_gist.c index 3d74a1463a6..ef5d8cca784 100644 --- a/contrib/pg_trgm/trgm_gist.c +++ b/contrib/pg_trgm/trgm_gist.c @@ -8,6 +8,7 @@ #include "fmgr.h" #include "port/pg_bitutils.h" #include "trgm.h" +#include "varatt.h" /* gist_trgm_ops opclass options */ typedef struct diff --git a/contrib/pg_trgm/trgm_regexp.c b/contrib/pg_trgm/trgm_regexp.c index 35ea9dbb544..9a00564ae4f 100644 --- a/contrib/pg_trgm/trgm_regexp.c +++ b/contrib/pg_trgm/trgm_regexp.c @@ -196,6 +196,7 @@ #include "tsearch/ts_locale.h" #include "utils/hsearch.h" #include "utils/memutils.h" +#include "varatt.h" /* * Uncomment (or use -DTRGM_REGEXP_DEBUG) to print debug info, diff --git a/contrib/pgcrypto/pgcrypto.c b/contrib/pgcrypto/pgcrypto.c index 8f882f4c684..96447c57577 100644 --- a/contrib/pgcrypto/pgcrypto.c +++ b/contrib/pgcrypto/pgcrypto.c @@ -39,6 +39,7 @@ #include "px.h" #include "utils/builtins.h" #include "utils/uuid.h" +#include "varatt.h" PG_MODULE_MAGIC; diff --git a/contrib/uuid-ossp/uuid-ossp.c b/contrib/uuid-ossp/uuid-ossp.c index 3f0e379a9b7..6399baf2571 100644 --- a/contrib/uuid-ossp/uuid-ossp.c +++ b/contrib/uuid-ossp/uuid-ossp.c @@ -19,6 +19,7 @@ #include "port/pg_bswap.h" #include "utils/builtins.h" #include "utils/uuid.h" +#include "varatt.h" /* * It's possible that there's more than one uuid.h header file present. |