summaryrefslogtreecommitdiff
path: root/src/include/optimizer
diff options
context:
space:
mode:
authorPeter Eisentraut2002-07-24 19:11:14 +0000
committerPeter Eisentraut2002-07-24 19:11:14 +0000
commit739adf32eecfe129aea09f543370d886045c7c01 (patch)
tree57523329d5ef1c98f67755d000402273f366ea8c /src/include/optimizer
parenta78777558cfac77563e74fc82edbe2089d7bbc11 (diff)
Remove unused system table columns:
pg_language.lancompiler pg_operator.oprprec pg_operator.oprisleft pg_proc.proimplicit pg_proc.probyte_pct pg_proc.properbyte_cpu pg_proc.propercall_cpu pg_proc.prooutin_ratio pg_shadow.usetrace pg_type.typprtlen pg_type.typreceive pg_type.typsend Attempts to use the obsoleted attributes of pg_operator or pg_proc in the CREATE commands will be greeted by a warning. For pg_type, there is no warning (yet) because pg_dump scripts still contain these attributes. Also remove new but already obsolete spellings isVolatile, isStable, isImmutable in WITH clause. (Use new syntax instead.)
Diffstat (limited to 'src/include/optimizer')
-rw-r--r--src/include/optimizer/cost.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/include/optimizer/cost.h b/src/include/optimizer/cost.h
index 1870310b783..e478b77a2bc 100644
--- a/src/include/optimizer/cost.h
+++ b/src/include/optimizer/cost.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: cost.h,v 1.45 2002/06/20 20:29:51 momjian Exp $
+ * $Id: cost.h,v 1.46 2002/07/24 19:11:14 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -25,12 +25,6 @@
#define DEFAULT_CPU_INDEX_TUPLE_COST 0.001
#define DEFAULT_CPU_OPERATOR_COST 0.0025
-/* defaults for function attributes used for expensive function calculations */
-#define BYTE_PCT 100
-#define PERBYTE_CPU 0
-#define PERCALL_CPU 0
-#define OUTIN_RATIO 100
-
/*
* prototypes for costsize.c