1999-02-03 15:15:53 -05:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* restrictinfo.h
|
1999-02-03 15:15:53 -05:00
|
|
|
* prototypes for restrictinfo.c.
|
|
|
|
|
*
|
|
|
|
|
*
|
2002-06-20 16:29:54 -04:00
|
|
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
2000-01-26 00:58:53 -05:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1999-02-03 15:15:53 -05:00
|
|
|
*
|
2002-06-20 16:29:54 -04:00
|
|
|
* $Id: restrictinfo.h,v 1.15 2002/06/20 20:29:51 momjian Exp $
|
1999-02-03 15:15:53 -05:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#ifndef RESTRICTINFO_H
|
|
|
|
|
#define RESTRICTINFO_H
|
|
|
|
|
|
|
|
|
|
#include "nodes/relation.h"
|
|
|
|
|
|
1999-07-24 19:21:14 -04:00
|
|
|
extern bool restriction_is_or_clause(RestrictInfo *restrictinfo);
|
1999-02-03 15:15:53 -05:00
|
|
|
extern List *get_actual_clauses(List *restrictinfo_list);
|
2000-09-12 17:07:18 -04:00
|
|
|
extern void get_actual_join_clauses(List *restrictinfo_list,
|
2001-03-21 23:01:46 -05:00
|
|
|
List **joinquals, List **otherquals);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* RESTRICTINFO_H */
|