summaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
AgeCommit message (Collapse)Author
1999-07-17 Move some system includes into c.h, and remove duplicates.Bruce Momjian
1999-07-16Final cleanup.Bruce Momjian
1999-07-16Update #include cleanupsBruce Momjian
1999-07-15Remove unused #includes in *.c files.Bruce Momjian
1999-07-15Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian
1999-06-17Remove QUERY_LIMIT and documenation on same. Change _ALIGN to TYPEALIGNBruce Momjian
for Irix.
1999-06-09Reset evaluation plan tuple table next free slot counter to 0Vadim B. Mikheev
after ExecEndNode. It must be done! Or we'll be out of free tuple slots very soon, though slots are freed by ExecEndNode and ready for reusing. We didn't see this problem before because of int nSlots = ExecCountSlotsNode(plan); TupleTable tupleTable = ExecCreateTupleTable(nSlots + 10); /* why add ten? - jolly */ code in InitPlan - i.e. extra 10 slots. Simple select uses 3 slots and so it was possible to re-use evaluation plan 3 additional times and didn't get elog(NOTICE, "Plan requires more slots than are available"); elog(ERROR, "send mail to your local executor guru to fix this"); Changes are obvious and shouldn't be problems with them. Though, I added Assert(epqstate->es_tupleTable->next == 0) before EvalPlanQual():ExecInitNode and we'll notice if something is still wrong. Is it better to change Assert to elog(ERROR) ?
1999-06-06I used bad style of comments and ... commented out some code inVadim B. Mikheev
EvalPlanQualNext() when implemented it... -:) Uncommented...
1999-05-25Another pgindent run. Sorry folks.Bruce Momjian
1999-05-25pgindent run over code.Bruce Momjian
1999-05-10Change error messages to oids come out as %u and not %d. Change has noBruce Momjian
real affect now.
1999-03-23Remove Tee code, move to _deadcode.Bruce Momjian
1999-03-20Fix for aggregate memory leaks from Erik Riedel.Bruce Momjian
1999-03-19I suggest the following portability patch, which does notBruce Momjian
change functionality, but makes the code more ANSI C'ish. My AIX xlc compiler barfs on all of these. Can someone please review and apply to current. <<port.patch>> Thanks Andreas
1999-02-22comment cleanup.Bruce Momjian
1999-02-21From: Tatsuo Ishii <t-ishii@sra.co.jp>Marc G. Fournier
Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef NOT_USED" for current. I have tested these patches in that the postgres binaries are identical.
1999-02-13Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian
1999-02-08Added LIMIT/OFFSET functionality including new regression test for it.Jan Wieck
Removed CURRENT keyword for rule queries and changed rules regression accordingly. CURRENT has beed announced to disappear in v6.5. Jan
1999-02-07Changed ExecConstraints() and ExecRelCheck() to cache the constraintsJan Wieck
qualification expression trees in the execution state. Prevents from memory exhaustion on INSERT, UPDATE or COPY to tables that have CHECK constraints. Speedup against the variant using freeObject() is more than factor 2. Jan
1999-02-07Missing semicolon in last fix :-}Jan Wieck
Jan
1999-02-07One more fix to QuerySnapshot usage in ExecutorStart(). MaybeJan Wieck
current QuerySnapshot could be NULL. Jan
1999-02-07Fixed problem with multiple portals shown up in portals_p2 regressionJan Wieck
test after new AllocSet code. Activated optimal AllocSet blocksize and chunk limit. Jan
1999-02-06New alloc set code using a memory block pool for small allocations.Jan Wieck
Jan
1999-02-02Add TEMP tables/indexes. Add COPY pfree(). Other cleanups.Bruce Momjian
1999-01-29Small fix for READ COMMITTED isolevel.Vadim B. Mikheev
1999-01-29Hope that execMain.c good merged.Vadim B. Mikheev
Fix for BEFORE ROW UPDATE triggers: result tuple may be different (due to concurrent update) from one initially produced by top level plan.
1999-01-29Trying to fix bad merging...Vadim B. Mikheev
1999-01-29READ COMMITTED isolevel is implemented and is default now.Vadim B. Mikheev
1999-01-27Quick fix for subplan-related crash.Tom Lane
1999-01-27Another SELECT speedup: extract OIDs of column print functionsTom Lane
only once per SELECT, not once per tuple. 10% here, 10% there, pretty soon you're talking about real speedups ...
1999-01-25SELECT FOR UPDATE is implemented...Vadim B. Mikheev
1998-12-18SET TRANSACTION ISOLATION LEVEL ...Vadim B. Mikheev
LOCK TABLE IN ... MODE ...implemented
1998-12-16Serialized mode works!Vadim B. Mikheev
1998-12-15Initial MVCC code.Vadim B. Mikheev
New code for locking buffer' context.
1998-11-27New HeapTuple structure/interface.Vadim B. Mikheev
1998-10-14New QUERY_LIMIT set command.Bruce Momjian
1998-10-01Get rid of some long-dead code that thinks NOTIFY is passed to theTom Lane
planner/optimizer/executor. It isn't. Besides, most of the removed code consists of comments about how it's not right.
1998-09-25Clean up existing debugging print statements.Thomas G. Lockhart
Modify comment blocks to insulate from pgindent.
1998-09-01OK, folks, here is the pgindent output.Bruce Momjian
1998-09-01Renaming cleanup, no pgindent yet.Bruce Momjian
1998-08-19heap_fetch requires buffer pointer, must be released; heap_getnextBruce Momjian
no longer returns buffer pointer, can be gotten from scan; descriptor; bootstrap can create multi-key indexes; pg_procname index now is multi-key index; oidint2, oidint4, oidname are gone (must be removed from regression tests); use System Cache rather than sequential scan in many places; heap_modifytuple no longer takes buffer parameter; remove unused buffer parameter in a few other functions; oid8 is not index-able; remove some use of single-character variable names; cleanup Buffer variables usage and scan descriptor looping; cleaned up allocation and freeing of tuples; 18k lines of diff;
1998-08-06Make large objects their own relkind type. Fix dups in pg_class_mbBruce Momjian
files. Fix sequence creation hack for relkind type.
1998-07-27Use Snapshot in heap access methods.Vadim B. Mikheev
1998-07-20Cleanup Name usage.Bruce Momjian
1998-07-19Conditionally execute Junk filter only when ORDER BY of columnsBruce Momjian
not in target list.
1998-06-15Remove un-needed braces around single statements.Bruce Momjian
1998-05-26Fix for drop database and junk filters.Bruce Momjian
1998-05-21From: David Hartwig <daveh@insightdist.com>Marc G. Fournier
Here is a patch to remove the requirement that ORDER/GROUP BY clause identifiers be included in the target list.
1998-02-27Check SELECT permissions in subqueries.Vadim B. Mikheev
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian