[prev] 10 [next]

QOpt Data Structures

Generic Path node structure:

typedef struct Path
{
   NodeTag     type;          /* scan/join/... */
   NodeTag     pathtype;      /* specific method */
   RelOptInfo *parent;        /* output relation */
   /* estimated execution costs for path */
   Cost        startup_cost;  /* setup cost */
   Cost        total_cost;    /* total cost */
   List       *pathkeys;      /* sort order */
} Path;