From 739adf32eecfe129aea09f543370d886045c7c01 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 24 Jul 2002 19:11:14 +0000 Subject: 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.) --- src/include/optimizer/cost.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/include/optimizer') 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 -- cgit v1.2.3