]> granicus.if.org Git - postgresql/commitdiff
Bump disable_cost up from 1e8 to 1e10, per gripe from Kris Jurka.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Apr 2009 15:33:33 +0000 (15:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Apr 2009 15:33:33 +0000 (15:33 +0000)
src/backend/optimizer/path/costsize.c

index 2b3cf61e751e1f7c39e9b472aac927aa5dd6b4a2..119997f3ff4d402a25ae488467b30afe609eb7df 100644 (file)
@@ -54,7 +54,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/optimizer/path/costsize.c,v 1.206 2009/03/26 17:15:35 tgl Exp $
+ *       $PostgreSQL: pgsql/src/backend/optimizer/path/costsize.c,v 1.207 2009/04/17 15:33:33 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -97,7 +97,7 @@ double                cpu_operator_cost = DEFAULT_CPU_OPERATOR_COST;
 
 int                    effective_cache_size = DEFAULT_EFFECTIVE_CACHE_SIZE;
 
-Cost           disable_cost = 100000000.0;
+Cost           disable_cost = 1.0e10;
 
 bool           enable_seqscan = true;
 bool           enable_indexscan = true;