summaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor improvements to stringinfo package to make it moreTom Lane1999-08-311-1/+4
| | | | robust, since it's about to get used much more heavily.
* EXPLAIN didn't know about 'Materialize' plan nodes.Tom Lane1999-08-161-1/+4
|
* > > Prevent sorting if result is already sortedBruce Momjian1999-08-091-1/+3
| | | | | | | | | | | | | | > > > > was implemented by Jan Wieck. > > His work is for ascending order cases. > > > > Here is a patch to prevent sorting also in descending > > order cases. > > Because I had already changed _bt_first() to position > > backward correctly before v6.5,this patch would work. > > Hiroshi Inoue Inoue@tpf.co.jp
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-171-3/+1
|
* Fix incorrect declaration of rtentry as 'ResTarget' where itTom Lane1999-07-171-2/+2
| | | | should be 'RangeTblEntry' ; explain.c had copied the erroneous code.
* Final cleanup.Bruce Momjian1999-07-161-5/+5
|
* Change #include's to use <> and "" as appropriate.Bruce Momjian1999-07-151-9/+9
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-151-5/+1
|
* Explain didn't handle inheritance correctly (it didn'tTom Lane1999-06-171-2/+1
| | | | manipulate rtable the same way executor does).
* pgindent run over code.Bruce Momjian1999-05-251-32/+16
|
* Rearrange top-level rewrite operations so that EXPLAIN worksTom Lane1999-05-091-8/+11
| | | | on queries involving UNION, EXCEPT, INTERSECT.
* Revise backend libpq interfaces so that messages to the frontendTom Lane1999-04-251-12/+7
| | | | | | can be generated in a buffer and then sent to the frontend in a single libpq call. This solves problems with NOTICE and ERROR messages generated in the middle of a data message or COPY OUT operation.
* Rename explain's "size" to "rows".Bruce Momjian1999-04-231-2/+2
|
* Remove Tee code, move to _deadcode.Bruce Momjian1999-03-231-4/+1
|
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* Rename Temp to Noname for noname tables.Bruce Momjian1999-02-091-3/+3
|
* Fixed nodeToString() to put out "<>" for NULL strings again.Jan Wieck1998-12-181-7/+7
| | | | | | More cleanups to appendStringInfo() usage in node/outfuncs.c. Jan
* more cleanups...of note, appendStringInfo now performs like sprintf(),Marc G. Fournier1998-12-141-9/+20
| | | | | | | | | | where you state a format and arguments. the old behavior required each appendStringInfo to have to have a sprintf() before it if any formatting was required. Also shortened several instances where there were multiple appendStringInfo() calls in a row, doing nothing more then adding one more word to the String, instead of doing them all in one call.
* Initial attempt to clean up the code...Marc G. Fournier1998-12-141-12/+7
| | | | | | Switch sprintf() to snprintf() Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of code
* Fix using indices in OR.Vadim B. Mikheev1998-11-221-4/+9
| | | | EXPLAIN all indices used.
* EXPLAIN VERBOSE had a very high probability of triggeringTom Lane1998-11-081-20/+33
| | | | | | a backend core dump, because it was concatenating a potentially long string onto another string that didn't necessarily have enough room. Shame, shame.
* The patch does 2 things:Bruce Momjian1998-10-211-9/+43
| | | | | | | | | | | | Fixes a bug in the rule system that caused a crashing backend when a join-view with calculated column is used in subselect. Modifies EXPLAIN to explain rewritten queries instead of the plain SeqScan on a view. Rules can produce very deep MORE Jan.
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-6/+6
|
* MergeSort was sometimes called mergejoin and was confusing. NowBruce Momjian1998-08-041-4/+5
| | | | it is now only mergejoin.
* EXPLAIN VERBOSE prints the plan, and now pretty-prints the plan toBruce Momjian1998-08-041-4/+7
| | | | the postmaster log file.
* Make EXPLAIN show output more clearly.Bruce Momjian1998-08-041-3/+3
|
* Fix explain for union and inheritance. Rename Append structureBruce Momjian1998-07-151-1/+36
| | | | members to be clearer. Fix cost computation for these.
* show the index used in an explainMarc G. Fournier1998-04-271-2/+9
| | | | From: Zeugswetter Andreas SARZ <Andreas.Zeugswetter@telecom.at>
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-15/+15
|
* Support for subselects.Vadim B. Mikheev1998-02-131-5/+47
|
* Change some mallocs to palloc.Bruce Momjian1997-12-291-3/+3
|
* Break parser functions into smaller files, group together.Bruce Momjian1997-11-251-3/+2
|
* Inline memset() as MemSet().Bruce Momjian1997-09-181-2/+2
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-081-6/+6
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-75/+75
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-169/+184
|
* Now that names are null terminated, no need to do all that NAMEDATALEN stuff.Bruce Momjian1997-08-181-2/+2
|
* Print 'Group' as name of Group plan.Vadim B. Mikheev1997-04-051-1/+4
|
* Change EXPLAIN options to just use VERBOSE.Bruce Momjian1997-01-161-20/+5
|
* explain changeBruce Momjian1996-12-291-7/+14
|
* Improved EXPLAIN option handling.Bruce Momjian1996-12-291-6/+16
|
* pname=NULL -> pname="" (stringinfo.c:appendStringInfo doesn't like NULL).Vadim B. Mikheev1996-12-031-2/+2
|
* Clean it up so that it compilesMarc G. Fournier1996-11-061-11/+11
|
* Another first pass at cleaning up the #includesMarc G. Fournier1996-11-031-2/+2
|
* Major code cleanups from D'arcy (-Wall -Werror)Marc G. Fournier1996-10-231-1/+4
|
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-091-0/+219