summaryrefslogtreecommitdiff
path: root/src/backend/rewrite/rewriteHandler.c
Commit message (Collapse)AuthorAgeFilesLines
* I started adding the Having Clause and it works quite fine forBruce Momjian1998-03-301-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | sequential scans! (I think it will also work with hash, index, etc but I did not check it out! I made some High level changes which should work for all access methods, but maybe I'm wrong. Please let me know.) Now it is possible to make queries like: select s.sname, max(p.pid), min(p.pid) from part p, supplier s where s.sid=p.sid group by s.sname having max(pid)=6 and min(pid)=1 or avg(pid)=4; Having does not work yet for queries that contain a subselect statement in the Having clause, I'll try to fix this in the next days. If there are some bugs, please let me know, I'll start to read the mailinglists now! Now here is the patch against the original 6.3 version (no snapshot!!): Stefan
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-49/+45
|
* From: Jan Wieck <jwieck@debis.com>Marc G. Fournier1998-02-251-3/+3
| | | | | | | | | | seems that my last post didn't make it through. That's good since the diff itself didn't covered the renaming of pg_user.h to pg_shadow.h and it's new content. Here it's again. The complete regression test passwd with only some float diffs. createuser and destroyuser work. pg_shadow cannot be read by ordinary user.
* First step done,Marc G. Fournier1998-02-211-6/+104
| | | | | | | | | | | | | | | | | | | below is the patch to have views to override the permission checks for the accessed tables. Now we can do the following: CREATE VIEW db_user AS SELECT usename, usesysid, usecreatedb, usetrace, usecatupd, '**********'::text as passwd, valuntil FROM pg_user; REVOKE ALL ON pg_user FROM public; REVOKE ALL ON db_user FROM public; GRANT SELECT ON db_user TO public;
* Make subqueries rewrite properly.Bruce Momjian1998-01-211-12/+88
|
* Yohoo UNIONS of VIEWS.Bruce Momjian1998-01-091-3/+7
|
* Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian1998-01-071-2/+2
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-2/+2
|
* Fix for count(*), aggs with views and multiple tables and sum(3).Bruce Momjian1998-01-041-1/+2
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-081-29/+29
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-93/+93
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-507/+559
|
* Remove more (void) and fix -Wall warnings.Bruce Momjian1997-08-121-3/+3
|
* Fix access through null pointer info->rule_action. Thanks Darren King.Bryan Henderson1996-11-241-41/+38
|
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-091-0/+622