PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
f
h
i
n
o
p
r
s
t
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
attoptcache.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* attoptcache.h
4
* Attribute options cache.
5
*
6
* Portions Copyright (c) 1996-2025, 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!) */
22
float8
n_distinct
;
23
float8
n_distinct_inherited
;
24
}
AttributeOpts
;
25
26
extern
AttributeOpts
*
get_attribute_options
(
Oid
attrelid,
int
attnum
);
27
28
#endif
/* ATTOPTCACHE_H */
get_attribute_options
AttributeOpts * get_attribute_options(Oid attrelid, int attnum)
Definition:
attoptcache.c:131
AttributeOpts
struct AttributeOpts AttributeOpts
float8
double float8
Definition:
c.h:601
int32
int32_t int32
Definition:
c.h:498
attnum
int16 attnum
Definition:
pg_attribute.h:74
Oid
unsigned int Oid
Definition:
postgres_ext.h:30
AttributeOpts
Definition:
attoptcache.h:20
AttributeOpts::n_distinct
float8 n_distinct
Definition:
attoptcache.h:22
AttributeOpts::n_distinct_inherited
float8 n_distinct_inherited
Definition:
attoptcache.h:23
AttributeOpts::vl_len_
int32 vl_len_
Definition:
attoptcache.h:21
src
include
utils
attoptcache.h
Generated on Wed Apr 23 2025 06:13:26 for PostgreSQL Source Code by
1.9.4