Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ddcc132

Browse files
committed
Some refactorting based on Craig Ringer review
1 parent 30807ae commit ddcc132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/utils/rel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ typedef struct ViewOptions
535535
* True if relation's pages are stored in local buffers.
536536
*/
537537
#define RelationUsesLocalBuffers(relation) \
538-
RelationHasSessionScope(relation)
538+
((relation)->rd_rel->relpersistence == RELPERSISTENCE_TEMP)
539539

540540
/*
541541
* RELATION_IS_LOCAL

0 commit comments

Comments
 (0)