YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/postgres_build/src/include/catalog/pg_class_d.h
Line
Count
Source
1
/*-------------------------------------------------------------------------
2
 *
3
 * pg_class_d.h
4
 *    Macro definitions for pg_class
5
 *
6
 * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
7
 * Portions Copyright (c) 1994, Regents of the University of California
8
 *
9
 * NOTES
10
 *  ******************************
11
 *  *** DO NOT EDIT THIS FILE! ***
12
 *  ******************************
13
 *
14
 *  It has been GENERATED by src/backend/catalog/genbki.pl
15
 *
16
 *-------------------------------------------------------------------------
17
 */
18
#ifndef PG_CLASS_D_H
19
#define PG_CLASS_D_H
20
21
784k
#define RelationRelationId 1259
22
2.04k
#define RelationRelation_Rowtype_Id 83
23
24
2.42k
#define Anum_pg_class_relname 1
25
2.43k
#define Anum_pg_class_relnamespace 2
26
2.42k
#define Anum_pg_class_reltype 3
27
2.42k
#define Anum_pg_class_reloftype 4
28
2.48k
#define Anum_pg_class_relowner 5
29
2.42k
#define Anum_pg_class_relam 6
30
2.42k
#define Anum_pg_class_relfilenode 7
31
2.42k
#define Anum_pg_class_reltablespace 8
32
2.42k
#define Anum_pg_class_relpages 9
33
2.42k
#define Anum_pg_class_reltuples 10
34
2.42k
#define Anum_pg_class_relallvisible 11
35
2.42k
#define Anum_pg_class_reltoastrelid 12
36
2.42k
#define Anum_pg_class_relhasindex 13
37
2.42k
#define Anum_pg_class_relisshared 14
38
2.42k
#define Anum_pg_class_relpersistence 15
39
2.43k
#define Anum_pg_class_relkind 16
40
2.42k
#define Anum_pg_class_relnatts 17
41
2.42k
#define Anum_pg_class_relchecks 18
42
2.42k
#define Anum_pg_class_relhasoids 19
43
2.42k
#define Anum_pg_class_relhasrules 20
44
2.42k
#define Anum_pg_class_relhastriggers 21
45
2.42k
#define Anum_pg_class_relhassubclass 22
46
2.42k
#define Anum_pg_class_relrowsecurity 23
47
2.42k
#define Anum_pg_class_relforcerowsecurity 24
48
2.42k
#define Anum_pg_class_relispopulated 25
49
2.42k
#define Anum_pg_class_relreplident 26
50
2.42k
#define Anum_pg_class_relispartition 27
51
2.42k
#define Anum_pg_class_relrewrite 28
52
2.42k
#define Anum_pg_class_relfrozenxid 29
53
2.42k
#define Anum_pg_class_relminmxid 30
54
4.22k
#define Anum_pg_class_relacl 31
55
178k
#define Anum_pg_class_reloptions 32
56
5.96k
#define Anum_pg_class_relpartbound 33
57
58
3.61k
#define Natts_pg_class 33
59
60
61
99.9M
#define     RELKIND_RELATION      'r'  /* ordinary table */
62
61.3M
#define     RELKIND_INDEX       'i'  /* secondary index */
63
24.9M
#define     RELKIND_SEQUENCE      'S'  /* sequence object */
64
2.70M
#define     RELKIND_TOASTVALUE    't'  /* for out-of-line values */
65
26.3M
#define     RELKIND_VIEW        'v'  /* view */
66
22.0M
#define     RELKIND_MATVIEW     'm'  /* materialized view */
67
27.0M
#define     RELKIND_COMPOSITE_TYPE  'c'  /* composite type */
68
23.8M
#define     RELKIND_FOREIGN_TABLE   'f'  /* foreign table */
69
60.2M
#define     RELKIND_PARTITIONED_TABLE 'p' /* partitioned table */
70
49.4M
#define     RELKIND_PARTITIONED_INDEX 'I' /* partitioned index */
71
72
750k
#define     RELPERSISTENCE_PERMANENT  'p' /* regular table */
73
4.79k
#define     RELPERSISTENCE_UNLOGGED 'u' /* unlogged permanent table */
74
49.8M
#define     RELPERSISTENCE_TEMP   't' /* temporary table */
75
76
/* default selection for replica identity (primary key or nothing) */
77
16.4k
#define     REPLICA_IDENTITY_DEFAULT  'd'
78
/* no replica identity is logged for this relation */
79
15.0k
#define     REPLICA_IDENTITY_NOTHING  'n'
80
/* all columns are logged as replica identity */
81
26.1k
#define     REPLICA_IDENTITY_FULL   'f'
82
/*
83
 * an explicitly chosen candidate key's columns are used as replica identity.
84
 * Note this will still be set if the index has been dropped; in that case it
85
 * has the same meaning as 'd'.
86
 */
87
12.2k
#define     REPLICA_IDENTITY_INDEX  'i'
88
89
/*
90
 * Relation kinds that have physical storage. These relations normally have
91
 * relfilenode set to non-zero, but it can also be zero if the relation is
92
 * mapped.
93
 */
94
#define RELKIND_CAN_HAVE_STORAGE(relkind) \
95
528
  ((relkind) == RELKIND_RELATION || \
96
120
   (relkind) == RELKIND_INDEX || \
97
120
   (relkind) == RELKIND_SEQUENCE || \
98
120
   (relkind) == RELKIND_TOASTVALUE || \
99
120
   (relkind) == RELKIND_MATVIEW)
100
101
102
103
#endif              /* PG_CLASS_D_H */