From 81fc1d5edb36773fe28f3b5dc5daf5eb7d468a61 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 6 Feb 2000 03:27:35 +0000 Subject: 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. --- src/backend/optimizer/path/joinpath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/optimizer/path/joinpath.c') 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; -- cgit v1.2.3