From 158fd5f1c4ab70f6db388e2bc7f4467b63d85457 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 9 Aug 1999 06:20:27 +0000 Subject: > > 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 --- src/include/nodes/plannodes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/nodes') 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; -- cgit v1.2.3