blob: bb03d89415f262a3a9d9c2175d1848fdb7d10f67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*-------------------------------------------------------------------------
*
* expandedstring.h
* Expand a varlena into a StringInfo for faster in-memory manipulation.
*
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/utils/expandedstring.h
*
*-------------------------------------------------------------------------
*/
#ifndef EXPANDEDSTRING_H
#define EXPANDEDSTRING_H
#include "lib/stringinfo.h"
#include "utils/expandeddatum.h"
typedef struct ExpandedStringInfoHeader
{
/* Standard header for expanded objects */
ExpandedObjectHeader hdr;
/* String info */
StringInfoData buf;
} ExpandedStringInfoHeader;
extern ExpandedStringInfoHeader *GetExpandedStringInfo(void);
#endif
|