home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre4.z / postgre4 / src / parser / parse_query.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-06  |  1.6 KB  |  29 lines

  1. /* $Header: /private/postgres/src/parser/RCS/parse_query.h,v 1.22 1992/07/13 01:28:02 joey Exp $ */
  2. extern LispValue ModifyQueryTree ARGS((LispValue query, LispValue priority, LispValue ruletag));
  3. extern Name VarnoGetRelname ARGS((int vnum));
  4. extern LispValue MakeRoot ARGS((int NumLevels , LispValue query_name , LispValue result, LispValue rtable , LispValue priority , LispValue ruleinfo , LispValue unique_flag , LispValue sort_clause , LispValue targetlist ));
  5. extern LispValue MakeRangeTableEntry ARGS((Name relname , List options , Name refname ));
  6. LispValue MakeTargetList ARGS((void));
  7. extern LispValue ExpandAll ARGS((Name relname, int *this_resno));
  8. extern LispValue MakeTimeRange ARGS((LispValue datestring1, LispValue datestring2, int timecode));
  9. extern LispValue make_op ARGS((LispValue op, LispValue ltree, LispValue rtree, char optype));
  10. extern LispValue make_var  ARGS((Name relname, Name attrname));
  11. SkipForwardToFromList ARGS((void));
  12. LispValue SkipBackToTlist ARGS((void));
  13. LispValue SkipForwardPastFromList ARGS((void));
  14. StripRangeTable ARGS((void));
  15. extern LispValue make_const ARGS((LispValue value));
  16. extern LispValue make_param ARGS((int paramKind, char * relationName, char *attrName));
  17. extern LispValue HandleNestedDots ARGS((List dots));
  18. extern LispValue setup_tlist ARGS((Name attname, ObjectId relid)); /* kai */
  19.  
  20. /* defined in gram.y, used in ylib.c and gram.y */
  21. extern int NumLevels;
  22.  
  23. /* define in parse_query.c, used in gram.y */
  24. ObjectId *param_type_info;
  25. int pfunc_num_args;
  26.  
  27. /* useful macros */
  28. #define ISCOMPLEX(type) (typeid_get_relid((ObjectId)type) ? true : false)
  29.