aboutsummaryrefslogtreecommitdiff
path: root/src/include/optimizer/keys.h
blob: e267777c21074d03aa66c390a3d7026ed4e84ad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*-------------------------------------------------------------------------
 *
 * keys.h--
 *	  prototypes for keys.c.
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: keys.h,v 1.3 1997/09/07 04:59:08 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef KEYS_H
#define KEYS_H

extern bool		match_indexkey_operand(int indexkey, Var * operand, Rel * rel);
extern Var	   *extract_subkey(JoinKey * jk, int which_subkey);
extern bool		samekeys(List * keys1, List * keys2);
extern List    *collect_index_pathkeys(int *index_keys, List * tlist);

#endif							/* KEYS_H */