aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-01-10 05:48:59 +0100
committerPeter Eisentraut <peter@eisentraut.org>2023-01-10 05:54:36 +0100
commitd952373a987bad331c0e499463159dd142ced1ef (patch)
treea175cd4bc4eb775ba85472752eaab8c87e7a691f /src/backend/utils/cache
parentcd06ccd78fcf59dd6486b83e4fbf6c73be179523 (diff)
downloadpostgresql-d952373a987bad331c0e499463159dd142ced1ef.tar.gz
postgresql-d952373a987bad331c0e499463159dd142ced1ef.zip
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 'src/backend/utils/cache')
-rw-r--r--src/backend/utils/cache/attoptcache.c1
-rw-r--r--src/backend/utils/cache/spccache.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/utils/cache/attoptcache.c b/src/backend/utils/cache/attoptcache.c
index dbf81bdf1b1..28a99f0fc42 100644
--- a/src/backend/utils/cache/attoptcache.c
+++ b/src/backend/utils/cache/attoptcache.c
@@ -22,6 +22,7 @@
#include "utils/hsearch.h"
#include "utils/inval.h"
#include "utils/syscache.h"
+#include "varatt.h"
/* Hash table for information about each attribute's options */
diff --git a/src/backend/utils/cache/spccache.c b/src/backend/utils/cache/spccache.c
index 44c63bd4783..aabe6ba64b1 100644
--- a/src/backend/utils/cache/spccache.c
+++ b/src/backend/utils/cache/spccache.c
@@ -29,6 +29,7 @@
#include "utils/inval.h"
#include "utils/spccache.h"
#include "utils/syscache.h"
+#include "varatt.h"
/* Hash table for information about each tablespace */