1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Fix using indices in OR.

EXPLAIN all indices used.
This commit is contained in:
Vadim B. Mikheev
1998-11-22 10:48:45 +00:00
parent 1f00f0dc2e
commit 34680930d5
7 changed files with 27 additions and 12 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.49 1998/10/22 13:52:20 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.50 1998/11/22 10:48:38 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@ -247,6 +247,7 @@ _copyIndexScan(IndexScan *from)
*/
newnode->indxid = listCopy(from->indxid);
Node_Copy(from, newnode, indxqual);
Node_Copy(from, newnode, indxqualorig);
Node_Copy(from, newnode, indxstate);
return newnode;