diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-08-09 06:20:27 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-08-09 06:20:27 +0000 |
commit | 158fd5f1c4ab70f6db388e2bc7f4467b63d85457 (patch) | |
tree | 7981105018fe9d0af5fb83f1ce367b570786c3ce /src/include/nodes/plannodes.h | |
parent | 5efe31214a6dff5c8fa06568d727bbf1f3e04a03 (diff) |
> > Prevent sorting if result is already sorted
> >
> > was implemented by Jan Wieck.
> > His work is for ascending order cases.
> >
> > Here is a patch to prevent sorting also in descending
> > order cases.
> > Because I had already changed _bt_first() to position
> > backward correctly before v6.5,this patch would work.
> >
Hiroshi Inoue
Inoue@tpf.co.jp
Diffstat (limited to 'src/include/nodes/plannodes.h')
-rw-r--r-- | src/include/nodes/plannodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h index 3d319a66ff7..532be5196bf 100644 --- a/src/include/nodes/plannodes.h +++ b/src/include/nodes/plannodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: plannodes.h,v 1.28 1999/07/15 23:03:55 momjian Exp $ + * $Id: plannodes.h,v 1.29 1999/08/09 06:20:27 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -175,6 +175,7 @@ typedef struct IndexScan List *indxid; List *indxqual; List *indxqualorig; + ScanDirection indxorderdir; IndexScanState *indxstate; } IndexScan; |