aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/variable.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-07 09:11:15 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-07 09:11:15 +0000
commit1391098851b1c9d6f7a094fc11964adbfc537f68 (patch)
tree9589c94da4af44fea772f8c37ce79f245339202a /src/backend/commands/variable.c
parentab1b88fd0d1a2c99588d058136440e1029192353 (diff)
downloadpostgresql-1391098851b1c9d6f7a094fc11964adbfc537f68.tar.gz
postgresql-1391098851b1c9d6f7a094fc11964adbfc537f68.zip
Fix misspelling.
Diffstat (limited to 'src/backend/commands/variable.c')
-rw-r--r--src/backend/commands/variable.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/commands/variable.c b/src/backend/commands/variable.c
index 5b914046562..9c34f252bf1 100644
--- a/src/backend/commands/variable.c
+++ b/src/backend/commands/variable.c
@@ -2,7 +2,7 @@
* Routines for handling of 'SET var TO',
* 'SHOW var' and 'RESET var' statements.
*
- * $Id: variable.c,v 1.21 1999/06/17 15:15:48 momjian Exp $
+ * $Id: variable.c,v 1.22 1999/07/07 09:11:13 momjian Exp $
*
*/
@@ -42,7 +42,7 @@ static bool show_XactIsoLevel(void);
static bool reset_XactIsoLevel(void);
static bool parse_XactIsoLevel(const char *);
-extern Cost _cpu_page_wight_;
+extern Cost _cpu_page_weight_;
extern Cost _cpu_index_page_wight_;
extern bool _use_geqo_;
extern int32 _use_geqo_rels_;
@@ -246,7 +246,7 @@ parse_cost_heap(const char *value)
}
res = float4in((char *) value);
- _cpu_page_wight_ = *res;
+ _cpu_page_weight_ = *res;
return TRUE;
}
@@ -255,14 +255,14 @@ static bool
show_cost_heap()
{
- elog(NOTICE, "COST_HEAP is %f", _cpu_page_wight_);
+ elog(NOTICE, "COST_HEAP is %f", _cpu_page_weight_);
return TRUE;
}
static bool
reset_cost_heap()
{
- _cpu_page_wight_ = _CPU_PAGE_WEIGHT_;
+ _cpu_page_weight_ = _CPU_PAGE_WEIGHT_;
return TRUE;
}