Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1391098

Browse files
committed
Fix misspelling.
1 parent ab1b88f commit 1391098

File tree

3 files changed

+26
-16
lines changed

3 files changed

+26
-16
lines changed

doc/TODO

+13-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ COMMANDS
114114
* Allow CLUSTER on all tables at once, and improve CLUSTER
115115
* Generate error on CREATE OPERATOR of ~~, ~ and and ~*
116116
* Add SIMILAR TO to allow character classes, 'pg_[a-c]%'
117-
* Auto-destroy sequence on DROP of table with SERIAL
117+
* Auto-destroy sequence on DROP of table with SERIAL(Ryan)
118118
* Allow LOCK TABLE tab1, tab2, tab3 so all tables locked in unison
119119
* Allow INSERT/UPDATE of system-generated oid value for a row
120120
* Allow ESCAPE '\' at the end of LIKE for ANSI compliance
@@ -135,15 +135,18 @@ CLIENTS
135135
MISC
136136

137137
* Increase identifier length(NAMEDATALEN) if small performance hit
138-
* Allow row re-use without vacuum, maybe?(Vadim)
138+
* Allow row re-use without vacuum(Vadim)
139+
* Create a background process for each database that runs while
140+
database is idle, finding superceeded rows, gathering stats and vacuuming
139141
* Add UNIQUE capability to non-btree indexes
140142
* Certain indexes will not shrink, i.e. oid indexes with many inserts
141143
* Restore unused oid's on backend exit if no one else has gotten oids
142144
* Have UPDATE/DELETE clean out indexes
143145
* Allow WHERE restriction on ctid
144146
* Allow cursors to be DECLAREd/OPENed/CLOSEed outside transactions
145147
* Allow PQrequestCancel() to terminate when in waiting-for-lock state
146-
* Transaction log, so re-do log can be on a separate disk
148+
* Transaction log, so re-do log can be on a separate disk by
149+
logging SQL queries, or before/after row images
147150
* Populate backend status area and write program to dump status data
148151
* Make oid use unsigned int more reliably, pg_atoi()
149152
* Allow subqueries in target list
@@ -177,6 +180,7 @@ INDEXES
177180
* Allow LIMIT ability on single-table queries that have no ORDER BY to use
178181
a matching index
179182
* Improve LIMIT processing by using index to limit rows processed
183+
* Have optimizer take LIMIT into account when considering index scans
180184

181185
CACHE
182186

@@ -199,6 +203,11 @@ MISC
199203
* Create more system table indexes for faster cache lookups
200204
* Improve Subplan list handling
201205
* Allow Subplans to use efficient joins(hash, merge) with upper variable
206+
* use fmgr_info()/fmgr_faddr() instead of fmgr() calls in high-traffic
207+
places, like GROUP BY, UNIQUE, index processing, etc.
208+
* improve dynamic memory allocation by introducing tuple-context memory
209+
allocation
210+
* add pooled memory allocation where allocations are freed only as a group
202211

203212

204213
SOURCE CODE
@@ -227,6 +236,7 @@ Developers who have claimed items are:
227236
* Michael is Michael Meskes <meskes@postgresql.org>
228237
* Oleg is Oleg Bartunov <oleg@sai.msu.su>
229238
* Peter is Peter T Mount <peter@retep.org.uk>
239+
* Ryan is Ryan Bradetich <rbrad@hpb50023.boi.hp.com>
230240
* Stefan Simkovics <ssimkovi@rainbow.studorg.tuwien.ac.at>
231241
* Tatsuo is Tatsuo Ishii <t-ishii@sra.co.jp>
232242
* Tom is Tom Lane <tgl@sss.pgh.pa.us>

src/backend/commands/variable.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Routines for handling of 'SET var TO',
33
* 'SHOW var' and 'RESET var' statements.
44
*
5-
* $Id: variable.c,v 1.21 1999/06/17 15:15:48 momjian Exp $
5+
* $Id: variable.c,v 1.22 1999/07/07 09:11:13 momjian Exp $
66
*
77
*/
88

@@ -42,7 +42,7 @@ static bool show_XactIsoLevel(void);
4242
static bool reset_XactIsoLevel(void);
4343
static bool parse_XactIsoLevel(const char *);
4444

45-
extern Cost _cpu_page_wight_;
45+
extern Cost _cpu_page_weight_;
4646
extern Cost _cpu_index_page_wight_;
4747
extern bool _use_geqo_;
4848
extern int32 _use_geqo_rels_;
@@ -246,7 +246,7 @@ parse_cost_heap(const char *value)
246246
}
247247

248248
res = float4in((char *) value);
249-
_cpu_page_wight_ = *res;
249+
_cpu_page_weight_ = *res;
250250

251251
return TRUE;
252252
}
@@ -255,14 +255,14 @@ static bool
255255
show_cost_heap()
256256
{
257257

258-
elog(NOTICE, "COST_HEAP is %f", _cpu_page_wight_);
258+
elog(NOTICE, "COST_HEAP is %f", _cpu_page_weight_);
259259
return TRUE;
260260
}
261261

262262
static bool
263263
reset_cost_heap()
264264
{
265-
_cpu_page_wight_ = _CPU_PAGE_WEIGHT_;
265+
_cpu_page_weight_ = _CPU_PAGE_WEIGHT_;
266266
return TRUE;
267267
}
268268

src/backend/optimizer/path/costsize.c

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.38 1999/05/25 22:41:27 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.39 1999/07/07 09:11:15 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -51,7 +51,7 @@ bool _enable_nestloop_ = true;
5151
bool _enable_mergejoin_ = true;
5252
bool _enable_hashjoin_ = true;
5353

54-
Cost _cpu_page_wight_ = _CPU_PAGE_WEIGHT_;
54+
Cost _cpu_page_weight_ = _CPU_PAGE_WEIGHT_;
5555
Cost _cpu_index_page_wight_ = _CPU_INDEX_PAGE_WEIGHT_;
5656

5757
/*
@@ -93,7 +93,7 @@ cost_seqscan(int relid, int relpages, int reltuples)
9393
else
9494
{
9595
temp += relpages;
96-
temp += _cpu_page_wight_ * reltuples;
96+
temp += _cpu_page_weight_ * reltuples;
9797
}
9898
Assert(temp >= 0);
9999
return temp;
@@ -159,7 +159,7 @@ cost_index(Oid indexid,
159159
temp += _cpu_index_page_wight_ * selec * indextuples;
160160

161161
/* per heap tuples */
162-
temp += _cpu_page_wight_ * selec * reltuples;
162+
temp += _cpu_page_weight_ * selec * reltuples;
163163

164164
Assert(temp >= 0);
165165
return temp;
@@ -213,7 +213,7 @@ cost_sort(List *pathkeys, int tuples, int width)
213213
* could be base_log(tuples, NBuffers), but we are only doing 2-way
214214
* merges
215215
*/
216-
temp += _cpu_page_wight_ * tuples * base_log((double) tuples, 2.0);
216+
temp += _cpu_page_weight_ * tuples * base_log((double) tuples, 2.0);
217217

218218
Assert(temp > 0);
219219

@@ -236,7 +236,7 @@ cost_result(int tuples, int width)
236236
Cost temp = 0;
237237

238238
temp = temp + page_size(tuples, width);
239-
temp = temp + _cpu_page_wight_ * tuples;
239+
temp = temp + _cpu_page_weight_ * tuples;
240240
Assert(temp >= 0);
241241
return temp;
242242
}
@@ -310,7 +310,7 @@ cost_mergejoin(Cost outercost,
310310
temp += cost_sort(outersortkeys, outersize, outerwidth);
311311
if (innersortkeys) /* do we need to sort? */
312312
temp += cost_sort(innersortkeys, innersize, innerwidth);
313-
temp += _cpu_page_wight_ * (outersize + innersize);
313+
temp += _cpu_page_weight_ * (outersize + innersize);
314314

315315
Assert(temp >= 0);
316316

@@ -361,7 +361,7 @@ cost_hashjoin(Cost outercost,
361361
temp += outercost + innercost;
362362

363363
/* cost of computing hash function: must do it once per tuple */
364-
temp += _cpu_page_wight_ * (outersize + innersize);
364+
temp += _cpu_page_weight_ * (outersize + innersize);
365365

366366
/* cost of main-memory hashtable */
367367
temp += (innerpages < NBuffers) ? innerpages : NBuffers;

0 commit comments

Comments
 (0)