summaryrefslogtreecommitdiff
path: root/src/include/nodes/pg_list.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-02-06 03:27:35 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-02-06 03:27:35 +0000
commit81fc1d5edb36773fe28f3b5dc5daf5eb7d468a61 (patch)
tree14073bed5eb4955815511924daa365e63c1c86b1 /src/include/nodes/pg_list.h
parent418b270020de20086042d7595dfe7d941b038716 (diff)
downloadpostgresql-81fc1d5edb36773fe28f3b5dc5daf5eb7d468a61.tar.gz
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/include/nodes/pg_list.h')
-rw-r--r--src/include/nodes/pg_list.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/nodes/pg_list.h b/src/include/nodes/pg_list.h
index 9e96cef956..94aa8d58c6 100644
--- a/src/include/nodes/pg_list.h
+++ b/src/include/nodes/pg_list.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_list.h,v 1.14 2000/01/26 05:58:16 momjian Exp $
+ * $Id: pg_list.h,v 1.15 2000/02/06 03:27:35 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -106,7 +106,10 @@ extern List *set_difference(List *list1, List *list2);
extern List *set_differencei(List *list1, List *list2);
extern List *LispUnion(List *list1, List *list2);
extern List *LispUnioni(List *list1, List *list2);
-extern bool same(List *list1, List *list2);
+
+extern bool sameseti(List *list1, List *list2);
+extern bool nonoverlap_setsi(List *list1, List *list2);
+extern bool is_subseti(List *list1, List *list2);
extern void freeList(List *list);