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

Commit 1a572f3

Browse files
committed
provide fix for 9.5
1 parent c1d59bd commit 1a572f3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/planner_tree_modification.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@ disable_standard_inheritance(Query *parse)
188188
ListCell *lc;
189189
Index current_rti; /* current range table entry index */
190190

191+
#ifdef LEGACY_ROWMARKS_95
192+
if (parse->commandType != CMD_SELECT)
193+
return;
194+
#endif
195+
191196
/* Walk through RangeTblEntries list */
192197
current_rti = 0;
193198
foreach (lc, parse->rtable)

0 commit comments

Comments
 (0)