mirror of
https://github.com/postgres/postgres.git
synced 2026-01-29 12:02:15 +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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user