diff options
| author | Peter Eisentraut | 2002-07-24 19:11:14 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2002-07-24 19:11:14 +0000 |
| commit | 739adf32eecfe129aea09f543370d886045c7c01 (patch) | |
| tree | 57523329d5ef1c98f67755d000402273f366ea8c /src/backend/utils | |
| parent | a78777558cfac77563e74fc82edbe2089d7bbc11 (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/backend/utils')
| -rw-r--r-- | src/backend/utils/Gen_fmgrtab.sh | 8 | ||||
| -rw-r--r-- | src/backend/utils/adt/sets.c | 6 |
2 files changed, 5 insertions, 9 deletions
diff --git a/src/backend/utils/Gen_fmgrtab.sh b/src/backend/utils/Gen_fmgrtab.sh index 9971823ab7f..074088e080d 100644 --- a/src/backend/utils/Gen_fmgrtab.sh +++ b/src/backend/utils/Gen_fmgrtab.sh @@ -9,7 +9,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh,v 1.24 2002/06/20 20:29:36 momjian Exp $ +# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh,v 1.25 2002/07/24 19:11:10 petere Exp $ # #------------------------------------------------------------------------- @@ -233,15 +233,15 @@ FuNkYfMgRtAbStUfF # may seem tedious, but avoid the temptation to write a quick x?y:z # conditional expression instead. Not all awks have conditional expressions. # -# Note assumptions here that prosrc == $(NF-2), pronargs == $12, -# proisstrict == $9, proretset == $10 +# Note assumptions here that prosrc == $(NF-2), pronargs == $11, +# proisstrict == $8, proretset == $9 $AWK 'BEGIN { Bool["t"] = "true" Bool["f"] = "false" } { printf (" { %d, \"%s\", %d, %s, %s, %s },\n"), \ - $1, $(NF-2), $12, Bool[$9], Bool[$10], $(NF-2) + $1, $(NF-2), $11, Bool[$8], Bool[$9], $(NF-2) }' $RAWFILE >> "$$-$TABLEFILE" if [ $? -ne 0 ]; then diff --git a/src/backend/utils/adt/sets.c b/src/backend/utils/adt/sets.c index 0a378c47288..a9a65fc3893 100644 --- a/src/backend/utils/adt/sets.c +++ b/src/backend/utils/adt/sets.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/sets.c,v 1.48 2002/07/20 05:16:58 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/sets.c,v 1.49 2002/07/24 19:11:11 petere Exp $ * *------------------------------------------------------------------------- */ @@ -65,10 +65,6 @@ SetDefine(char *querystr, Oid elemType) false, /* security invoker */ false, /* isStrict (irrelevant, no args) */ PROVOLATILE_VOLATILE, /* assume unsafe */ - 100, /* byte_pct */ - 0, /* perbyte_cpu */ - 0, /* percall_cpu */ - 100, /* outin_ratio */ 0, /* parameterCount */ NULL); /* parameterTypes */ |
