diff options
| author | Neil Conway <neilc@samurai.com> | 2004-05-30 23:40:41 +0000 |
|---|---|---|
| committer | Neil Conway <neilc@samurai.com> | 2004-05-30 23:40:41 +0000 |
| commit | 72b6ad6313387110cb36b69a3732cd0936c3eba4 (patch) | |
| tree | e43da77aaeb3a9d7f4997ddb2b91ae88001ea462 /src/backend/optimizer/path/costsize.c | |
| parent | ec0b1f271639ff0fafd1310de3c47cbb214c6294 (diff) | |
| download | postgresql-72b6ad6313387110cb36b69a3732cd0936c3eba4.tar.gz | |
Use the new List API function names throughout the backend, and disable the
list compatibility API by default. While doing this, I decided to keep
the llast() macro around and introduce llast_int() and llast_oid() variants.
Diffstat (limited to 'src/backend/optimizer/path/costsize.c')
| -rw-r--r-- | src/backend/optimizer/path/costsize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/optimizer/path/costsize.c b/src/backend/optimizer/path/costsize.c index 71b879b134..96d0e213cc 100644 --- a/src/backend/optimizer/path/costsize.c +++ b/src/backend/optimizer/path/costsize.c @@ -49,7 +49,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/optimizer/path/costsize.c,v 1.127 2004/05/26 04:41:21 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/optimizer/path/costsize.c,v 1.128 2004/05/30 23:40:28 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -412,7 +412,7 @@ cost_tidscan(Path *path, Query *root, Cost startup_cost = 0; Cost run_cost = 0; Cost cpu_per_tuple; - int ntuples = length(tideval); + int ntuples = list_length(tideval); /* Should only be applied to base relations */ Assert(baserel->relid > 0); @@ -1063,7 +1063,7 @@ cost_hashjoin(HashPath *path, Query *root) outer_path->parent->width); double innerbytes = relation_byte_size(inner_path_rows, inner_path->parent->width); - int num_hashclauses = length(hashclauses); + int num_hashclauses = list_length(hashclauses); int virtualbuckets; int physicalbuckets; int numbatches; |
