Skip to content

Commit b24c02f

Browse files
committed
Bump disable_cost up from 1e8 to 1e10, per gripe from Kris Jurka.
1 parent d7a6a04 commit b24c02f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/optimizer/path/costsize.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
* Portions Copyright (c) 1994, Regents of the University of California
5555
*
5656
* IDENTIFICATION
57-
* $PostgreSQL: pgsql/src/backend/optimizer/path/costsize.c,v 1.206 2009/03/26 17:15:35 tgl Exp $
57+
* $PostgreSQL: pgsql/src/backend/optimizer/path/costsize.c,v 1.207 2009/04/17 15:33:33 tgl Exp $
5858
*
5959
*-------------------------------------------------------------------------
6060
*/
@@ -97,7 +97,7 @@ double cpu_operator_cost = DEFAULT_CPU_OPERATOR_COST;
9797

9898
int effective_cache_size = DEFAULT_EFFECTIVE_CACHE_SIZE;
9999

100-
Cost disable_cost = 100000000.0;
100+
Cost disable_cost = 1.0e10;
101101

102102
bool enable_seqscan = true;
103103
bool enable_indexscan = true;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy