diff options
| author | Tom Lane | 2004-04-07 18:17:25 +0000 |
|---|---|---|
| committer | Tom Lane | 2004-04-07 18:17:25 +0000 |
| commit | 989067bd2208398d803e784582e96811d652f574 (patch) | |
| tree | 03e25367119186414e746b2421643b66c07b2198 /src/include | |
| parent | 5d1af6aee3c78bb01d78e0a150c9617b1ff23500 (diff) | |
Extend set-operation planning to keep track of the sort ordering induced
by the set operation, so that redundant sorts at higher levels can be
avoided. This was foreseen a good while back, but not done. Per request
from Karel Zak.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/optimizer/prep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/optimizer/prep.h b/src/include/optimizer/prep.h index 6255c362307..7f38bb795a7 100644 --- a/src/include/optimizer/prep.h +++ b/src/include/optimizer/prep.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/optimizer/prep.h,v 1.43 2003/12/28 21:57:37 tgl Exp $ + * $PostgreSQL: pgsql/src/include/optimizer/prep.h,v 1.44 2004/04/07 18:17:25 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -48,7 +48,7 @@ extern List *preprocess_targetlist(List *tlist, int command_type, /* * prototypes for prepunion.c */ -extern Plan *plan_set_operations(Query *parse); +extern Plan *plan_set_operations(Query *parse, List **sortClauses); extern List *find_all_inheritors(Oid parentrel); |
