postgresql/src/backend
Tom Lane ac4913a0dd Clean up messy clause-selectivity code in clausesel.c; repair bug
identified by Hiroshi (incorrect cost attributed to OR clauses
after multiple passes through set_rest_selec()).  I think the code
was trying to allow selectivities of OR subclauses to be passed in
from outside, but noplace was actually passing any useful data, and
set_rest_selec() was passing wrong data.

Restructure representation of "indexqual" in IndexPath nodes so that
it is the same as for indxqual in completed IndexScan nodes: namely,
a toplevel list with an entry for each pass of the index scan, having
sublists that are implicitly-ANDed index qual conditions for that pass.
You don't want to know what the old representation was :-(

Improve documentation of OR-clause indexscan functions.

Remove useless 'notclause' field from RestrictInfo nodes.  (This might
force an initdb for anyone who has stored rules containing RestrictInfos,
but I do not think that RestrictInfo ever appears in completed plans.)
1999-07-24 23:21:14 +00:00
..
access Install new alignment code to use MAXALIGN rather than DOUBLEALIGN where 1999-07-19 07:07:29 +00:00
bootstrap Re-add getopt.h check, remove NT-specific tests for it. 1999-07-19 02:27:16 +00:00
catalog Reverse out cache changes that are not ready yet. 1999-07-20 17:14:08 +00:00
commands Plug several holes in backend's ability to cope with 1999-07-22 02:40:07 +00:00
executor Rewrite parser's handling of INSERT ... SELECT so that processing 1999-07-19 00:26:20 +00:00
lib Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
libpq Exit cleanups I made yesterday caused pq_close() to be 1999-07-23 03:00:10 +00:00
main Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
nodes Clean up messy clause-selectivity code in clausesel.c; repair bug 1999-07-24 23:21:14 +00:00
optimizer Clean up messy clause-selectivity code in clausesel.c; repair bug 1999-07-24 23:21:14 +00:00
parser Complain about INSERT ... SELECT ... ORDER BY, which we do not 1999-07-20 00:18:01 +00:00
port cleanup 1999-07-18 20:43:33 +00:00
postmaster Re-add getopt.h check, remove NT-specific tests for it. 1999-07-19 02:27:16 +00:00
regex Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
rewrite Install new alignment code to use MAXALIGN rather than DOUBLEALIGN where 1999-07-19 07:07:29 +00:00
storage Alpha spinlock fix from Uncle George <gatgul@voicenet.com> 1999-07-22 18:30:08 +00:00
tcop Plug several holes in backend's ability to cope with 1999-07-22 02:40:07 +00:00
tioga Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
utils Alpha spinlock fix from Uncle George <gatgul@voicenet.com> 1999-07-22 18:30:08 +00:00
Makefile Export include/utils/mcxt.h so that external stuff can include 1999-03-07 23:05:57 +00:00