Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90399a9

Browse files
authored
Merge pull request#55 from postgrespro/PGPRO-10932
Correcting confusion in variables.
2 parentsb54b0dd +ec52e0a commit90399a9

6 files changed

+18
-24
lines changed

‎patches/runtime_explain_11.0.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,9 @@ index 16a80a0ea1..b12906b005 100644
209209

210210
/* count the number of source rows */
211211
-total = mtstate->mt_plans[0]->instrument->ntuples;
212-
-other_path = mtstate->ps.instrument->ntuples2;
212+
other_path = mtstate->ps.instrument->ntuples2;
213213
-insert_path = total - other_path;
214-
+other_path = mtstate->ps.instrument->nfiltered2;
215-
+
214+
216215
+/*
217216
+ * Insert occurs after extracting row from subplan and in runtime mode
218217
+ * we can appear between these two operations - situation when
@@ -227,7 +226,7 @@ index 16a80a0ea1..b12906b005 100644
227226
+insert_path = total - other_path;
228227
+ExplainPropertyFloat("Tuples Inserted", NULL, insert_path, 0, es);
229228
+}
230-
229+
+
231230
-ExplainPropertyFloat("Tuples Inserted", NULL,
232231
- insert_path, 0, es);
233232
ExplainPropertyFloat("Conflicting Tuples", NULL,

‎patches/runtime_explain_12.0.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,9 @@ index 92969636b75..fab4267a2c1 100644
222222

223223
/* count the number of source rows */
224224
-total = mtstate->mt_plans[0]->instrument->ntuples;
225-
-other_path = mtstate->ps.instrument->ntuples2;
225+
other_path = mtstate->ps.instrument->ntuples2;
226226
-insert_path = total - other_path;
227-
+other_path = mtstate->ps.instrument->nfiltered2;
228-
+
227+
229228
+/*
230229
+ * Insert occurs after extracting row from subplan and in runtime mode
231230
+ * we can appear between these two operations - situation when
@@ -240,7 +239,7 @@ index 92969636b75..fab4267a2c1 100644
240239
+insert_path = total - other_path;
241240
+ExplainPropertyFloat("Tuples Inserted", NULL, insert_path, 0, es);
242241
+}
243-
242+
+
244243
-ExplainPropertyFloat("Tuples Inserted", NULL,
245244
- insert_path, 0, es);
246245
ExplainPropertyFloat("Conflicting Tuples", NULL,

‎patches/runtime_explain_13.0.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,9 @@ index 20708db9f12..866948bd0c1 100644
219219

220220
/* count the number of source rows */
221221
-total = mtstate->mt_plans[0]->instrument->ntuples;
222-
-other_path = mtstate->ps.instrument->ntuples2;
222+
other_path = mtstate->ps.instrument->ntuples2;
223223
-insert_path = total - other_path;
224-
+other_path = mtstate->ps.instrument->nfiltered2;
225-
+
224+
226225
+/*
227226
+ * Insert occurs after extracting row from subplan and in runtime mode
228227
+ * we can appear between these two operations - situation when
@@ -237,7 +236,7 @@ index 20708db9f12..866948bd0c1 100644
237236
+insert_path = total - other_path;
238237
+ExplainPropertyFloat("Tuples Inserted", NULL, insert_path, 0, es);
239238
+}
240-
239+
+
241240
-ExplainPropertyFloat("Tuples Inserted", NULL,
242241
- insert_path, 0, es);
243242
ExplainPropertyFloat("Conflicting Tuples", NULL,

‎patches/runtime_explain_14.0.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,9 @@ index 10644dfac4..7106ed4257 100644
219219

220220
/* count the number of source rows */
221221
-total = outerPlanState(mtstate)->instrument->ntuples;
222-
-other_path = mtstate->ps.instrument->ntuples2;
222+
other_path = mtstate->ps.instrument->ntuples2;
223223
-insert_path = total - other_path;
224-
+other_path = mtstate->ps.instrument->nfiltered2;
225-
+
224+
226225
+/*
227226
+ * Insert occurs after extracting row from subplan and in runtime mode
228227
+ * we can appear between these two operations - situation when
@@ -237,7 +236,7 @@ index 10644dfac4..7106ed4257 100644
237236
+insert_path = total - other_path;
238237
+ExplainPropertyFloat("Tuples Inserted", NULL, insert_path, 0, es);
239238
+}
240-
239+
+
241240
-ExplainPropertyFloat("Tuples Inserted", NULL,
242241
- insert_path, 0, es);
243242
ExplainPropertyFloat("Conflicting Tuples", NULL,

‎patches/runtime_explain_15.0.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,9 @@ index 10644dfac4..7106ed4257 100644
219219

220220
/* count the number of source rows */
221221
-total = outerPlanState(mtstate)->instrument->ntuples;
222-
-other_path = mtstate->ps.instrument->ntuples2;
222+
other_path = mtstate->ps.instrument->ntuples2;
223223
-insert_path = total - other_path;
224-
+other_path = mtstate->ps.instrument->nfiltered2;
225-
+
224+
226225
+/*
227226
+ * Insert occurs after extracting row from subplan and in runtime mode
228227
+ * we can appear between these two operations - situation when
@@ -237,7 +236,7 @@ index 10644dfac4..7106ed4257 100644
237236
+insert_path = total - other_path;
238237
+ExplainPropertyFloat("Tuples Inserted", NULL, insert_path, 0, es);
239238
+}
240-
239+
+
241240
-ExplainPropertyFloat("Tuples Inserted", NULL,
242241
- insert_path, 0, es);
243242
ExplainPropertyFloat("Conflicting Tuples", NULL,

‎patches/runtime_explain_16.0.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,9 @@ index 6c2e5c8a4f..74be3944d1 100644
219219

220220
/* count the number of source rows */
221221
-total = outerPlanState(mtstate)->instrument->ntuples;
222-
-other_path = mtstate->ps.instrument->ntuples2;
222+
other_path = mtstate->ps.instrument->ntuples2;
223223
-insert_path = total - other_path;
224-
+other_path = mtstate->ps.instrument->nfiltered2;
225-
+
224+
226225
+/*
227226
+ * Insert occurs after extracting row from subplan and in runtime mode
228227
+ * we can appear between these two operations - situation when
@@ -237,7 +236,7 @@ index 6c2e5c8a4f..74be3944d1 100644
237236
+insert_path = total - other_path;
238237
+ExplainPropertyFloat("Tuples Inserted", NULL, insert_path, 0, es);
239238
+}
240-
239+
+
241240
-ExplainPropertyFloat("Tuples Inserted", NULL,
242241
- insert_path, 0, es);
243242
ExplainPropertyFloat("Conflicting Tuples", NULL,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp