Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
6164b4bc
Commit
6164b4bc
authored
15 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Some trivial adjustments in comments for struct RelationData.
parent
3f7a5183
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/utils/rel.h
+6
-5
6 additions, 5 deletions
src/include/utils/rel.h
with
6 additions
and
5 deletions
src/include/utils/rel.h
+
6
−
5
View file @
6164b4bc
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/include/utils/rel.h,v 1.11
8
2010/01/
02 16:58:10 momjian
Exp $
* $PostgreSQL: pgsql/src/include/utils/rel.h,v 1.11
9
2010/01/
10 22:19:17 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -134,9 +134,6 @@ typedef struct RelationData
...
@@ -134,9 +134,6 @@ typedef struct RelationData
bool
rd_isvalid
;
/* relcache entry is valid */
bool
rd_isvalid
;
/* relcache entry is valid */
char
rd_indexvalid
;
/* state of rd_indexlist: 0 = not valid, 1 =
char
rd_indexvalid
;
/* state of rd_indexlist: 0 = not valid, 1 =
* valid, 2 = temporarily forced */
* valid, 2 = temporarily forced */
SubTransactionId
rd_createSubid
;
/* rel was created in current xact */
SubTransactionId
rd_newRelfilenodeSubid
;
/* new relfilenode assigned in
* current xact */
/*
/*
* rd_createSubid is the ID of the highest subtransaction the rel has
* rd_createSubid is the ID of the highest subtransaction the rel has
...
@@ -147,6 +144,10 @@ typedef struct RelationData
...
@@ -147,6 +144,10 @@ typedef struct RelationData
* subtransaction the relfilenode change has survived into, or zero if not
* subtransaction the relfilenode change has survived into, or zero if not
* changed in the current transaction (or we have forgotten changing it).
* changed in the current transaction (or we have forgotten changing it).
*/
*/
SubTransactionId
rd_createSubid
;
/* rel was created in current xact */
SubTransactionId
rd_newRelfilenodeSubid
;
/* new relfilenode assigned in
* current xact */
Form_pg_class
rd_rel
;
/* RELATION tuple */
Form_pg_class
rd_rel
;
/* RELATION tuple */
TupleDesc
rd_att
;
/* tuple descriptor */
TupleDesc
rd_att
;
/* tuple descriptor */
Oid
rd_id
;
/* relation's object id */
Oid
rd_id
;
/* relation's object id */
...
@@ -167,8 +168,8 @@ typedef struct RelationData
...
@@ -167,8 +168,8 @@ typedef struct RelationData
/* These are non-NULL only for an index relation: */
/* These are non-NULL only for an index relation: */
Form_pg_index
rd_index
;
/* pg_index tuple describing this index */
Form_pg_index
rd_index
;
/* pg_index tuple describing this index */
/* use "struct" here to avoid needing to include htup.h: */
struct
HeapTupleData
*
rd_indextuple
;
/* all of pg_index tuple */
struct
HeapTupleData
*
rd_indextuple
;
/* all of pg_index tuple */
/* "struct HeapTupleData *" avoids need to include htup.h here */
Form_pg_am
rd_am
;
/* pg_am tuple for index's AM */
Form_pg_am
rd_am
;
/* pg_am tuple for index's AM */
/*
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment