summaryrefslogtreecommitdiff
path: root/src/include/utils/rel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/rel.h')
-rw-r--r--src/include/utils/rel.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h
index 9cc7a2ecb4..11c06069aa 100644
--- a/src/include/utils/rel.h
+++ b/src/include/utils/rel.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: rel.h,v 1.52 2001/10/06 23:21:44 tgl Exp $
+ * $Id: rel.h,v 1.53 2001/10/25 05:50:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -64,9 +64,9 @@ typedef struct Trigger
typedef struct TriggerDesc
{
/*
- * Index data to identify which triggers are which. Since each trigger
- * can appear in more than one class, for each class we provide a list
- * of integer indexes into the triggers array.
+ * Index data to identify which triggers are which. Since each
+ * trigger can appear in more than one class, for each class we
+ * provide a list of integer indexes into the triggers array.
*/
#define TRIGGER_NUM_EVENT_CLASSES 4
@@ -89,12 +89,12 @@ typedef struct TriggerDesc
* Same for the statistics collector data in Relation and scan data.
* ----------
*/
-typedef struct PgStat_Info
+typedef struct PgStat_Info
{
- void *tabentry;
- bool no_stats;
- bool heap_scan_counted;
- bool index_scan_counted;
+ void *tabentry;
+ bool no_stats;
+ bool heap_scan_counted;
+ bool index_scan_counted;
} PgStat_Info;
/*
@@ -105,9 +105,9 @@ typedef struct RelationData
{
File rd_fd; /* open file descriptor, or -1 if none */
RelFileNode rd_node; /* file node (physical identifier) */
- BlockNumber rd_nblocks; /* number of blocks in rel */
- BlockNumber rd_targblock; /* current insertion target block,
- * or InvalidBlockNumber */
+ BlockNumber rd_nblocks; /* number of blocks in rel */
+ BlockNumber rd_targblock; /* current insertion target block, or
+ * InvalidBlockNumber */
int rd_refcnt; /* reference count */
bool rd_myxactonly; /* rel uses the local buffer mgr */
bool rd_isnailed; /* rel is nailed in cache */
@@ -127,11 +127,12 @@ typedef struct RelationData
MemoryContext rd_indexcxt; /* private memory cxt for this stuff */
IndexStrategy rd_istrat; /* operator strategy map */
RegProcedure *rd_support; /* OIDs of support procedures */
- struct FmgrInfo *rd_supportinfo; /* lookup info for support procedures */
+ struct FmgrInfo *rd_supportinfo; /* lookup info for support
+ * procedures */
/* "struct FmgrInfo" avoids need to include fmgr.h here */
/* statistics collection area */
- PgStat_Info pgstat_info;
+ PgStat_Info pgstat_info;
} RelationData;
typedef RelationData *Relation;
@@ -278,5 +279,4 @@ typedef Relation *RelationPtr;
/* added to prevent circular dependency. bjm 1999/11/15 */
extern char *get_temp_rel_by_physicalname(const char *relname);
-
#endif /* REL_H */