mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
#include "utils/builtins.h"
|
||||
#include "utils/formatting.h"
|
||||
#include "utils/varlena.h"
|
||||
#include "varatt.h"
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
@ -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 *
|
||||
|
@ -43,6 +43,7 @@
|
||||
#include "mb/pg_wchar.h"
|
||||
#include "utils/builtins.h"
|
||||
#include "utils/varlena.h"
|
||||
#include "varatt.h"
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "libpq/pqformat.h"
|
||||
#include "ltree.h"
|
||||
#include "utils/memutils.h"
|
||||
#include "varatt.h"
|
||||
|
||||
|
||||
typedef struct
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "ltree.h"
|
||||
#include "miscadmin.h"
|
||||
#include "nodes/miscnodes.h"
|
||||
#include "varatt.h"
|
||||
|
||||
|
||||
/* parser's states */
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include "px.h"
|
||||
#include "utils/builtins.h"
|
||||
#include "utils/uuid.h"
|
||||
#include "varatt.h"
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user