summaryrefslogtreecommitdiff
path: root/src/backend/libpq
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/backend/libpq
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 <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/libpq')
-rw-r--r--src/backend/libpq/be-fsstubs.c1
-rw-r--r--src/backend/libpq/pqformat.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/libpq/be-fsstubs.c b/src/backend/libpq/be-fsstubs.c
index 3471aa5ccf..d189044a4f 100644
--- a/src/backend/libpq/be-fsstubs.c
+++ b/src/backend/libpq/be-fsstubs.c
@@ -53,6 +53,7 @@
#include "utils/builtins.h"
#include "utils/memutils.h"
#include "utils/snapmgr.h"
+#include "varatt.h"
/* define this to enable debug logging */
/* #define FSDB 1 */
diff --git a/src/backend/libpq/pqformat.c b/src/backend/libpq/pqformat.c
index 418f83cb45..b7e2c7b6c9 100644
--- a/src/backend/libpq/pqformat.c
+++ b/src/backend/libpq/pqformat.c
@@ -77,6 +77,7 @@
#include "libpq/pqformat.h"
#include "mb/pg_wchar.h"
#include "port/pg_bswap.h"
+#include "varatt.h"
/* --------------------------------