diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-02-06 03:27:35 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-02-06 03:27:35 +0000 |
commit | 81fc1d5edb36773fe28f3b5dc5daf5eb7d468a61 (patch) | |
tree | 14073bed5eb4955815511924daa365e63c1c86b1 /src/backend/optimizer/path/joinpath.c | |
parent | 418b270020de20086042d7595dfe7d941b038716 (diff) |
Rename same() to sameseti() to have a slightly less generic name. Move
nonoverlap_sets() and is_subset() to list.c, where they should have lived
to begin with, and rename to nonoverlap_setsi and is_subseti since they
only work on integer lists.
Diffstat (limited to 'src/backend/optimizer/path/joinpath.c')
-rw-r--r-- | src/backend/optimizer/path/joinpath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/optimizer/path/joinpath.c b/src/backend/optimizer/path/joinpath.c index 1d63d9a5642..371dd2b7b56 100644 --- a/src/backend/optimizer/path/joinpath.c +++ b/src/backend/optimizer/path/joinpath.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/joinpath.c,v 1.49 2000/01/26 05:56:34 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/joinpath.c,v 1.50 2000/02/06 03:27:32 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -181,7 +181,7 @@ best_innerjoin(List *join_paths, Relids outer_relids) * outer_relids in order to use this inner path, because those * rels are used in the index join quals of this inner path. */ - if (is_subset(((IndexPath *) path)->joinrelids, outer_relids) && + if (is_subseti(((IndexPath *) path)->joinrelids, outer_relids) && (cheapest == NULL || path_is_cheaper(path, cheapest))) cheapest = path; |