diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-01-10 05:48:59 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-01-10 05:54:36 +0100 |
commit | d952373a987bad331c0e499463159dd142ced1ef (patch) | |
tree | a175cd4bc4eb775ba85472752eaab8c87e7a691f /contrib/pg_trgm | |
parent | cd06ccd78fcf59dd6486b83e4fbf6c73be179523 (diff) | |
download | postgresql-d952373a987bad331c0e499463159dd142ced1ef.tar.gz |
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 <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/ddcce239-0f29-6e62-4b47-1f8ca742addf%40enterprisedb.com
Diffstat (limited to 'contrib/pg_trgm')
-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 |
3 files changed, 3 insertions, 0 deletions
diff --git a/contrib/pg_trgm/trgm_gin.c b/contrib/pg_trgm/trgm_gin.c index 32fafef203..29a52eac7a 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 3d74a1463a..ef5d8cca78 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 35ea9dbb54..9a00564ae4 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, |