]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- patch for planner regression introduced in 8.2.5 (shows up with very large joins...
authorradek <radek@pld-linux.org>
Thu, 1 Nov 2007 20:49:20 +0000 (20:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql-825_planner_regression.patch -> 1.1

postgresql-825_planner_regression.patch [new file with mode: 0644]

diff --git a/postgresql-825_planner_regression.patch b/postgresql-825_planner_regression.patch
new file mode 100644 (file)
index 0000000..fd517a3
--- /dev/null
@@ -0,0 +1,14 @@
+# from http://archives.postgresql.org/pgsql-bugs/2007-10/msg00180.php
+diff -c -r1.123.2.7 src/backend/optimizer/plan/initsplan.c
+*** src/backend/optimizer/plan/initsplan.c     4 Oct 2007 20:44:55 -0000       1.123.2.7
+--- src/backend/optimizer/plan/initsplan.c     24 Oct 2007 20:34:08 -0000
+***************
+*** 625,630 ****
+--- 625,631 ----
+                * rel in the lower OJ's min_righthand, not its whole syn_righthand.
+                */
+               if (bms_overlap(left_rels, otherinfo->syn_righthand) &&
++                      bms_overlap(clause_relids, otherinfo->syn_righthand) &&
+                       !bms_overlap(strict_relids, otherinfo->min_righthand))
+               {
+                       min_lefthand = bms_add_members(min_lefthand,
This page took 0.041615 seconds and 4 git commands to generate.