postgresql/src/include/rewrite
Bruce Momjian 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
..
locks.h pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +00:00
prs2lock.h Used modified version of indent that understands over 100 typedefs. 1997-09-08 21:56:23 +00:00
rewriteDefine.h Cleanup up include files. 1997-11-26 01:14:33 +00:00
rewriteHandler.h Cleanup up include files. 1997-11-26 01:14:33 +00:00
rewriteManip.h 1) Queries using the having clause on base tables should work well 1998-07-19 05:49:26 +00:00
rewriteRemove.h Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting. 1997-09-08 02:41:22 +00:00
rewriteSupport.h pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +00:00