PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
attoptcache.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * attoptcache.h
4  * Attribute options cache.
5  *
6  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/utils/attoptcache.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef ATTOPTCACHE_H
14 #define ATTOPTCACHE_H
15 
16 /*
17  * Attribute options.
18  */
19 typedef struct AttributeOpts
20 {
21  int32 vl_len_; /* varlena header (do not touch directly!) */
25 
26 AttributeOpts *get_attribute_options(Oid spcid, int attnum);
27 
28 #endif /* ATTOPTCACHE_H */
struct AttributeOpts AttributeOpts
unsigned int Oid
Definition: postgres_ext.h:31
float8 n_distinct
Definition: attoptcache.h:22
signed int int32
Definition: c.h:253
double float8
Definition: c.h:378
AttributeOpts * get_attribute_options(Oid spcid, int attnum)
Definition: attoptcache.c:104
float8 n_distinct_inherited
Definition: attoptcache.h:23