aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/bufmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/bufmgr.h')
-rw-r--r--src/include/storage/bufmgr.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h
index a1e71013d32..bc26a4536ff 100644
--- a/src/include/storage/bufmgr.h
+++ b/src/include/storage/bufmgr.h
@@ -114,14 +114,10 @@ typedef struct BufferManagerRelation
struct ReadBuffersOperation
{
- /*
- * The following members should be set by the caller. If only smgr is
- * provided without rel, then smgr_persistence can be set to override the
- * default assumption of RELPERSISTENCE_PERMANENT.
- */
- Relation rel;
+ /* The following members should be set by the caller. */
+ Relation rel; /* optional */
struct SMgrRelationData *smgr;
- char smgr_persistence;
+ char smgr_persistence; /* optional if rel != NULL */
ForkNumber forknum;
BufferAccessStrategy strategy;