Fix misc typos.

Oskari Saarenmaa. Backpatch to stable branches where applicable.
REL9_1_STABLE
Heikki Linnakangas 10 years ago
parent dae1c9480e
commit 20d309a8f4
  1. 2
      contrib/btree_gist/btree_ts.c
  2. 2
      contrib/btree_gist/btree_utils_var.c
  3. 2
      src/backend/access/common/heaptuple.c
  4. 4
      src/backend/access/gin/ginfast.c
  5. 2
      src/backend/optimizer/path/costsize.c

@ -373,7 +373,7 @@ gbt_ts_penalty(PG_FUNCTION_ARGS)
newdbl[2]; newdbl[2];
/* /*
* We are allways using "double" timestamps here. Precision should be good * We are always using "double" timestamps here. Precision should be good
* enough. * enough.
*/ */
orgdbl[0] = ((double) origentry->lower); orgdbl[0] = ((double) origentry->lower);

@ -50,7 +50,7 @@ gbt_var_decompress(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(entry); PG_RETURN_POINTER(entry);
} }
/* Returns a better readable representaion of variable key ( sets pointer ) */ /* Returns a better readable representation of variable key ( sets pointer ) */
GBT_VARKEY_R GBT_VARKEY_R
gbt_var_key_readable(const GBT_VARKEY *k) gbt_var_key_readable(const GBT_VARKEY *k)
{ {

@ -808,7 +808,7 @@ heap_modify_tuple(HeapTuple tuple,
* repl information, as appropriate. * repl information, as appropriate.
* *
* NOTE: it's debatable whether to use heap_deform_tuple() here or just * NOTE: it's debatable whether to use heap_deform_tuple() here or just
* heap_getattr() only the non-replaced colums. The latter could win if * heap_getattr() only the non-replaced columns. The latter could win if
* there are many replaced columns and few non-replaced ones. However, * there are many replaced columns and few non-replaced ones. However,
* heap_deform_tuple costs only O(N) while the heap_getattr way would cost * heap_deform_tuple costs only O(N) while the heap_getattr way would cost
* O(N^2) if there are many non-replaced columns, so it seems better to * O(N^2) if there are many non-replaced columns, so it seems better to

@ -887,8 +887,8 @@ ginInsertCleanup(GinState *ginstate,
* locking */ * locking */
/* /*
* remove readed pages from pending list, at this point all * remove read pages from pending list, at this point all
* content of readed pages is in regular structure * content of read pages is in regular structure
*/ */
if (shiftList(index, metabuffer, blkno, stats)) if (shiftList(index, metabuffer, blkno, stats))
{ {

@ -873,7 +873,7 @@ cost_tidscan(Path *path, PlannerInfo *root,
/* /*
* The TID qual expressions will be computed once, any other baserestrict * The TID qual expressions will be computed once, any other baserestrict
* quals once per retrived tuple. * quals once per retrieved tuple.
*/ */
cost_qual_eval(&tid_qual_cost, tidquals, root); cost_qual_eval(&tid_qual_cost, tidquals, root);

Loading…
Cancel
Save