Commit Graph

79 Commits

Author SHA1 Message Date
23c30246d7 pathkeys.c cleanup. 1999-02-21 01:55:03 +00:00
612b8434e4 optimizer cleanup 1999-02-19 05:18:06 +00:00
8ab72a38df optimizer cleanup 1999-02-19 02:05:20 +00:00
65ccd1039a Enable bushy plans by default. 1999-02-18 05:26:34 +00:00
e78662d879 optimizer cleanup 1999-02-18 04:55:54 +00:00
d977ff7b52 more optimizer cleanups 1999-02-18 04:45:36 +00:00
31cce21fb0 Fix bushy plans. Cleanup. 1999-02-18 00:49:48 +00:00
c82ca4c158 Re-enable bushy plans. Vadim want them. 1999-02-16 00:41:03 +00:00
e6bf7b4d93 rename 1999-02-15 05:56:07 +00:00
56bb23a8fe optimizer rename 1999-02-15 05:50:02 +00:00
50034a852d optimizer rename 1999-02-15 05:28:10 +00:00
82682ff31f optimizer rename 1999-02-15 03:59:28 +00:00
ba2883b264 Remove duplicate geqo functions, and more optimizer cleanup 1999-02-15 03:22:37 +00:00
61aa825876 Optimizer rename. 1999-02-14 04:57:02 +00:00
6724a50787 Change my-function-name-- to my_function_name, and optimizer renames. 1999-02-13 23:22:53 +00:00
ad4b27ac3f Optimizer cleanup. 1999-02-12 17:25:05 +00:00
c0d17c7aee JoinPath -> NestPath for nested loop. 1999-02-12 06:43:53 +00:00
3fdb9bb9c7 Fix optimizer and make faster. 1999-02-12 05:57:08 +00:00
6de25f09b1 Optimizer cleanup. 1999-02-11 17:00:49 +00:00
d244df95db More optimizer speedups. 1999-02-11 14:59:09 +00:00
dbd80c97f4 Optimizer fix for samekeys() and cost fixes for longer optimizer keys. 1999-02-11 04:08:44 +00:00
9dbb0efb0b Optmizer cleanup 1999-02-10 21:02:50 +00:00
f859c81c18 Rename Path.keys to Path.pathkeys. Too many 'keys' used for other things. 1999-02-10 03:52:54 +00:00
318e593f03 Rename Temp to Noname for noname tables. 1999-02-09 17:03:14 +00:00
a553760845 Optimizer cleanup. 1999-02-06 17:29:30 +00:00
ce3afccf7f More optimizer cleanups. 1999-02-04 03:19:11 +00:00
8d9237d485 Optimizer rename ClauseInfo -> RestrictInfo. Update optimizer README. 1999-02-03 20:15:53 +00:00
8e958b8a38 Fix create_rule is->as. 1999-02-02 17:46:17 +00:00
4390b0bfbe Add TEMP tables/indexes. Add COPY pfree(). Other cleanups. 1999-02-02 03:45:56 +00:00
1401f63dd1 Agg/Aggreg cleanup and datetime.sql patch. 1999-01-25 18:02:28 +00:00
bedd04a551 Implement CASE expression. 1998-12-04 15:34:49 +00:00
173c555948 Make functions static or ifdef NOT_USED. Prevent pg_version creation. 1998-10-08 18:30:52 +00:00
fcecc5ca1e [Part #1: Type: text/plain, Encoding: 7bit, Size: 59]
I will be cleaning this up more before the Oct 1 deadline.

David Hartwig.  AND/OR fix.
1998-09-03 02:34:35 +00:00
fa1a8d6a97 OK, folks, here is the pgindent output. 1998-09-01 04:40:42 +00:00
af74855a60 Renaming cleanup, no pgindent yet. 1998-09-01 03:29:17 +00:00
2d32d909b5 Cleanup optimizer function names and clarify code. 1998-08-10 02:26:40 +00:00
a08dc16c47 New pgindent. 1998-08-09 04:59:10 +00:00
d9be0ff432 MergeSort was sometimes called mergejoin and was confusing. Now
it is now only mergejoin.
1998-08-04 16:44:31 +00:00
7702d7aa4b target list fixes. 1998-07-20 21:18:35 +00:00
1d00134be4 makeTargetEntry cleanup. 1998-07-20 20:48:54 +00:00
3dd2eabc53 Cleanup makeTargetEntry and remove internal.c. 1998-07-20 19:53:53 +00:00
460b20a43f 1) Queries using the having clause on base tables should work well
now. Here some tested features, (examples included in the patch):

1.1) Subselects in the having clause 1.2) Double nested subselects
1.3) Subselects used in the where clause and in the having clause
     simultaneously 1.4) Union Selects using having 1.5) Indexes
on the base relations are used correctly 1.6) Unallowed Queries
are prevented (e.g. qualifications in the
     having clause that belong to the where clause) 1.7) Insert
into as select

2) Queries using the having clause on view relations also work
   but there are some restrictions:

2.1) Create View as Select ... Having ...; using base tables in
the select 2.1.1) The Query rewrite system:

2.1.2) Why are only simple queries allowed against a view from 2.1)
? 2.2) Select ... from testview1, testview2, ... having...; 3) Bug
in ExecMergeJoin ??


Regards Stefan
1998-07-19 05:49:26 +00:00
584f9438ca Rename Rel to RelOptInfo. 1998-07-18 04:22:52 +00:00
5529b783a8 Move HAVING function to proper file. 1998-04-15 15:29:57 +00:00
a32450a585 pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +00:00
5d7923dd1c Subselects... 1998-02-13 03:46:56 +00:00
7229513943 Fix prototypes so they don't look like function definitions. 1998-01-24 22:50:57 +00:00
763ff8aef8 Remove Query->qry_aggs and qry_numaggs and replace with Query->hasAggs.
Pass List* of Aggregs into executor, and create needed array there.
No longer need to double-processs Aggregs with second copy in Query.

Fix crash when doing:

	select sum(x+1) from test where 1 > 0;
1998-01-15 19:00:16 +00:00
a01b085c78 Cleanup of UNION ALL fix. Manual page updates. 1997-12-29 01:13:37 +00:00
6231e161c9 Implementation of UNIONs. 1997-12-24 06:06:58 +00:00