summaryrefslogtreecommitdiff
path: root/src/include/utils/expandeddatum.h
diff options
context:
space:
mode:
authorPeter Eisentraut2023-01-10 04:48:59 +0000
committerPeter Eisentraut2023-01-10 04:54:36 +0000
commitd952373a987bad331c0e499463159dd142ced1ef (patch)
treea175cd4bc4eb775ba85472752eaab8c87e7a691f /src/include/utils/expandeddatum.h
parentcd06ccd78fcf59dd6486b83e4fbf6c73be179523 (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 'src/include/utils/expandeddatum.h')
-rw-r--r--src/include/utils/expandeddatum.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/expandeddatum.h b/src/include/utils/expandeddatum.h
index eefc9124810..a77bb7e7e9a 100644
--- a/src/include/utils/expandeddatum.h
+++ b/src/include/utils/expandeddatum.h
@@ -44,6 +44,8 @@
#ifndef EXPANDEDDATUM_H
#define EXPANDEDDATUM_H
+#include "varatt.h"
+
/* Size of an EXTERNAL datum that contains a pointer to an expanded object */
#define EXPANDED_POINTER_SIZE (VARHDRSZ_EXTERNAL + sizeof(varatt_expanded))