home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre4.z / postgre4 / src / lib / H / nodes / relation.a.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  7.1 KB  |  114 lines

  1. /* $Header: /private/postgres/src/lib/H/nodes/RCS/relation.a.h,v 1.20 1992/03/31 23:15:41 mer Exp $ */
  2.  
  3. #include "nodes/pg_lisp.h"
  4.  
  5.  
  6. /* relation.c */
  7. void RInitRel ARGS((Pointer p ));
  8. Rel MakeRel ARGS((Relid relids , bool indexed , Count pages , Count tuples , Count size , Count width , List targetlist , List pathlist , Path unorderedpath , Path cheapestpath , List classlist , List indexkeys , oid indproc , List ordering , List clauseinfo , List joininfo , List innerjoin , List superrels ));
  9. void OutRel ARGS((StringInfo str , Rel node ));
  10. bool EqualRel ARGS((Rel a , Rel b ));
  11. bool CopyRel ARGS((Rel from , Rel *to , char *(*alloc )()));
  12. Rel IMakeRel ARGS((Relid relids , bool indexed , Count pages , Count tuples , Count size , Count width , List targetlist , List pathlist , Path unorderedpath , Path cheapestpath , List classlist , List indexkeys , oid indproc , List ordering , List clauseinfo , List joininfo , List innerjoin , List superrels ));
  13. Rel RMakeRel ARGS((void ));
  14. void RInitSortKey ARGS((Pointer p ));
  15. SortKey MakeSortKey ARGS((List varkeys , List sortkeys , Relid relid , List sortorder ));
  16. void OutSortKey ARGS((StringInfo str , SortKey node ));
  17. bool EqualSortKey ARGS((SortKey a , SortKey b ));
  18. bool CopySortKey ARGS((SortKey from , SortKey *to , char *(*alloc )()));
  19. SortKey IMakeSortKey ARGS((List varkeys , List sortkeys , Relid relid , List sortorder ));
  20. SortKey RMakeSortKey ARGS((void ));
  21. void RInitPath ARGS((Pointer p ));
  22. Path MakePath ARGS((int32 pathtype , Rel parent , Cost path_cost , List p_ordering , List keys , SortKey pathsortkey , Cost outerjoincost , Relid joinid ));
  23. void OutPath ARGS((StringInfo str , Path node ));
  24. bool EqualPath ARGS((Path a , Path b ));
  25. bool CopyPath ARGS((Path from , Path *to , char *(*alloc )()));
  26. Path IMakePath ARGS((int32 pathtype , Rel parent , Cost path_cost , List p_ordering , List keys , SortKey pathsortkey , Cost outerjoincost , Relid joinid ));
  27. Path RMakePath ARGS((void ));
  28. void RInitIndexPath ARGS((Pointer p ));
  29. IndexPath MakeIndexPath ARGS((List indexid , List indexqual ));
  30. void OutIndexPath ARGS((StringInfo str , IndexPath node ));
  31. bool EqualIndexPath ARGS((IndexPath a , IndexPath b ));
  32. bool CopyIndexPath ARGS((IndexPath from , IndexPath *to , char *(*alloc )()));
  33. IndexPath IMakeIndexPath ARGS((List indexid , List indexqual ));
  34. IndexPath RMakeIndexPath ARGS((void ));
  35. void RInitJoinPath ARGS((Pointer p ));
  36. JoinPath MakeJoinPath ARGS((List pathclauseinfo , Path outerjoinpath , Path innerjoinpath ));
  37. void OutJoinPath ARGS((StringInfo str , JoinPath node ));
  38. bool EqualJoinPath ARGS((JoinPath a , JoinPath b ));
  39. bool CopyJoinPath ARGS((JoinPath from , JoinPath *to , char *(*alloc )()));
  40. JoinPath IMakeJoinPath ARGS((List pathclauseinfo , Path outerjoinpath , Path innerjoinpath ));
  41. JoinPath RMakeJoinPath ARGS((void ));
  42. void RInitMergePath ARGS((Pointer p ));
  43. MergePath MakeMergePath ARGS((List path_mergeclauses , List outersortkeys , List innersortkeys ));
  44. void OutMergePath ARGS((StringInfo str , MergePath node ));
  45. bool EqualMergePath ARGS((MergePath a , MergePath b ));
  46. bool CopyMergePath ARGS((MergePath from , MergePath *to , char *(*alloc )()));
  47. MergePath IMakeMergePath ARGS((List path_mergeclauses , List outersortkeys , List innersortkeys ));
  48. MergePath RMakeMergePath ARGS((void ));
  49. void RInitHashPath ARGS((Pointer p ));
  50. HashPath MakeHashPath ARGS((List path_hashclauses , List outerhashkeys , List innerhashkeys ));
  51. void OutHashPath ARGS((StringInfo str , HashPath node ));
  52. bool EqualHashPath ARGS((HashPath a , HashPath b ));
  53. bool CopyHashPath ARGS((HashPath from , HashPath *to , char *(*alloc )()));
  54. HashPath IMakeHashPath ARGS((List path_hashclauses , List outerhashkeys , List innerhashkeys ));
  55. HashPath RMakeHashPath ARGS((void ));
  56. void RInitOrderKey ARGS((Pointer p ));
  57. OrderKey MakeOrderKey ARGS((int attribute_number , Index array_index ));
  58. void OutOrderKey ARGS((StringInfo str , OrderKey node ));
  59. bool EqualOrderKey ARGS((OrderKey a , OrderKey b ));
  60. bool CopyOrderKey ARGS((OrderKey from , OrderKey *to , char *(*alloc )()));
  61. OrderKey IMakeOrderKey ARGS((int attribute_number , Index array_index ));
  62. OrderKey RMakeOrderKey ARGS((void ));
  63. void RInitJoinKey ARGS((Pointer p ));
  64. JoinKey MakeJoinKey ARGS((LispValue outer , LispValue inner ));
  65. void OutJoinKey ARGS((StringInfo str , JoinKey node ));
  66. bool EqualJoinKey ARGS((JoinKey a , JoinKey b ));
  67. bool CopyJoinKey ARGS((JoinKey from , JoinKey *to , char *(*alloc )()));
  68. JoinKey IMakeJoinKey ARGS((LispValue outer , LispValue inner ));
  69. JoinKey RMakeJoinKey ARGS((void ));
  70. void RInitMergeOrder ARGS((Pointer p ));
  71. MergeOrder MakeMergeOrder ARGS((ObjectId join_operator , ObjectId left_operator , ObjectId right_operator , ObjectId left_type , ObjectId right_type ));
  72. void OutMergeOrder ARGS((StringInfo str , MergeOrder node ));
  73. bool EqualMergeOrder ARGS((MergeOrder a , MergeOrder b ));
  74. bool CopyMergeOrder ARGS((MergeOrder from , MergeOrder *to , char *(*alloc )()));
  75. MergeOrder IMakeMergeOrder ARGS((ObjectId join_operator , ObjectId left_operator , ObjectId right_operator , ObjectId left_type , ObjectId right_type ));
  76. MergeOrder RMakeMergeOrder ARGS((void ));
  77. void RInitCInfo ARGS((Pointer p ));
  78. CInfo MakeCInfo ARGS((Expr clause , Cost selectivity , bool notclause , List indexids , MergeOrder mergesortorder , ObjectId hashjoinoperator , Relid cinfojoinid ));
  79. void OutCInfo ARGS((StringInfo str , CInfo node ));
  80. bool EqualCInfo ARGS((CInfo a , CInfo b ));
  81. bool CopyCInfo ARGS((CInfo from , CInfo *to , char *(*alloc )()));
  82. CInfo IMakeCInfo ARGS((Expr clause , Cost selectivity , bool notclause , List indexids , MergeOrder mergesortorder , ObjectId hashjoinoperator , Relid cinfojoinid ));
  83. CInfo RMakeCInfo ARGS((void ));
  84. void RInitJoinMethod ARGS((Pointer p ));
  85. JoinMethod MakeJoinMethod ARGS((List jmkeys , List clauses ));
  86. void OutJoinMethod ARGS((StringInfo str , JoinMethod node ));
  87. bool EqualJoinMethod ARGS((JoinMethod a , JoinMethod b ));
  88. bool CopyJoinMethod ARGS((JoinMethod from , JoinMethod *to , char *(*alloc )()));
  89. JoinMethod IMakeJoinMethod ARGS((List jmkeys , List clauses ));
  90. JoinMethod RMakeJoinMethod ARGS((void ));
  91. void RInitHInfo ARGS((Pointer p ));
  92. HInfo MakeHInfo ARGS((ObjectId hashop ));
  93. void OutHInfo ARGS((StringInfo str , HInfo node ));
  94. bool EqualHInfo ARGS((HInfo a , HInfo b ));
  95. bool CopyHInfo ARGS((HInfo from , HInfo *to , char *(*alloc )()));
  96. HInfo IMakeHInfo ARGS((ObjectId hashop ));
  97. HInfo RMakeHInfo ARGS((void ));
  98. void RInitMInfo ARGS((Pointer p ));
  99. MInfo MakeMInfo ARGS((MergeOrder m_ordering ));
  100. void OutMInfo ARGS((StringInfo str , MInfo node ));
  101. bool EqualMInfo ARGS((MInfo a , MInfo b ));
  102. bool CopyMInfo ARGS((MInfo from , MInfo *to , char *(*alloc )()));
  103. MInfo IMakeMInfo ARGS((MergeOrder m_ordering ));
  104. MInfo RMakeMInfo ARGS((void ));
  105. void RInitJInfo ARGS((Pointer p ));
  106. JInfo MakeJInfo ARGS((List otherrels , List jinfoclauseinfo , bool mergesortable , bool hashjoinable , bool inactive ));
  107. void OutJInfo ARGS((StringInfo str , JInfo node ));
  108. bool EqualJInfo ARGS((JInfo a , JInfo b ));
  109. bool CopyJInfo ARGS((JInfo from , JInfo *to , char *(*alloc )()));
  110. JInfo IMakeJInfo ARGS((List otherrels , List jinfoclauseinfo , bool mergesortable , bool hashjoinable , bool inactive ));
  111. JInfo RMakeJInfo ARGS((void ));
  112.  
  113.  
  114.