diff options
| author | Tom Lane | 1999-07-25 17:53:27 +0000 |
|---|---|---|
| committer | Tom Lane | 1999-07-25 17:53:27 +0000 |
| commit | 8ae29a1d40749a69b760aeab1f67a1265c234b8e (patch) | |
| tree | c16cb90746a7d46169d660850cec185b7b1f9427 /src/include | |
| parent | ac4913a0dd433ac1c2207014f886338f2ccd5fef (diff) | |
Remove 'restrictinfojoinid' field from RestrictInfo nodes.
The only place it was being used was as temporary storage in indxpath.c,
and the logic was wrong: the same restrictinfo node could get chosen to
carry the info for two different joins. Right fix is to return a second
list of unjoined-relids parallel to the list of clause groups.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/nodes/relation.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/nodes/relation.h b/src/include/nodes/relation.h index 416cdb0c55b..0402fb8fb9e 100644 --- a/src/include/nodes/relation.h +++ b/src/include/nodes/relation.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: relation.h,v 1.35 1999/07/24 23:21:04 tgl Exp $ + * $Id: relation.h,v 1.36 1999/07/25 17:53:26 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -242,7 +242,6 @@ typedef struct RestrictInfo /* hashjoin only */ Oid hashjoinoperator; - Relids restrictinfojoinid; } RestrictInfo; typedef struct JoinMethod |
