| /*------------------------------------------------------------------------- | |
| * | |
| * cdbgroup.h | |
| * prototypes for cdbgroup.c. | |
| * | |
| * | |
| * Portions Copyright (c) 2006-2008, Greenplum inc | |
| * Portions Copyright (c) 2012-Present VMware, Inc. or its affiliates. | |
| * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group | |
| * Portions Copyright (c) 1994, Regents of the University of California | |
| * | |
| * | |
| * IDENTIFICATION | |
| * src/include/cdb/cdbgroup.h | |
| * | |
| *------------------------------------------------------------------------- | |
| */ | |
| #ifndef CDBGROUP_H | |
| #define CDBGROUP_H | |
| #include "nodes/params.h" | |
| #include "nodes/parsenodes.h" | |
| #include "nodes/pathnodes.h" | |
| #include "nodes/plannodes.h" | |
| #include "optimizer/clauses.h" /* AggClauseCosts */ | |
| extern bool cdbpathlocus_collocates_pathkeys(PlannerInfo *root, CdbPathLocus locus, List *pathkeys, bool exact_match); | |
| extern bool cdbpathlocus_collocates_tlist(PlannerInfo *root, CdbPathLocus locus, List *tlist); | |
| extern void UpdateScatterClause(Query *query, List *newtlist); | |
| #endif /* CDBGROUP_H */ |