Bruce Momjian
07842084fe
pgindent run over code.
1999-05-25 16:15:34 +00:00
Tom Lane
0b69d8a27c
Rearrange top-level rewrite operations so that EXPLAIN works
...
on queries involving UNION, EXCEPT, INTERSECT.
1999-05-09 23:31:47 +00:00
Tom Lane
95cc41b81d
Revise backend libpq interfaces so that messages to the frontend
...
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.
1999-04-25 03:19:27 +00:00
Bruce Momjian
fc08814e00
Rename explain's "size" to "rows".
1999-04-23 21:23:49 +00:00
Bruce Momjian
344dfc0b0f
Remove Tee code, move to _deadcode.
1999-03-23 16:51:04 +00:00
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
1999-02-13 23:22:53 +00:00
Bruce Momjian
318e593f03
Rename Temp to Noname for noname tables.
1999-02-09 17:03:14 +00:00
Jan Wieck
eeff2c94be
Fixed nodeToString() to put out "<>" for NULL strings again.
...
More cleanups to appendStringInfo() usage in node/outfuncs.c.
Jan
1998-12-18 14:45:09 +00:00
Marc G. Fournier
9396802f14
more cleanups...of note, appendStringInfo now performs like sprintf(),
...
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.
1998-12-14 08:11:17 +00:00
Marc G. Fournier
7c3b7d2744
Initial attempt to clean up the code...
...
Switch sprintf() to snprintf()
Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of
code
1998-12-14 05:19:16 +00:00
Vadim B. Mikheev
34680930d5
Fix using indices in OR.
...
EXPLAIN all indices used.
1998-11-22 10:48:45 +00:00
Tom Lane
39792e5b01
EXPLAIN VERBOSE had a very high probability of triggering
...
a backend core dump, because it was concatenating a potentially long
string onto another string that didn't necessarily have enough room.
Shame, shame.
1998-11-08 19:38:34 +00:00
Bruce Momjian
524f4b2d10
The patch does 2 things:
...
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.
1998-10-21 16:21:29 +00:00
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
1998-09-01 04:40:42 +00:00
Bruce Momjian
d9be0ff432
MergeSort was sometimes called mergejoin and was confusing. Now
...
it is now only mergejoin.
1998-08-04 16:44:31 +00:00
Bruce Momjian
7db9ea5c1e
EXPLAIN VERBOSE prints the plan, and now pretty-prints the plan to
...
the postmaster log file.
1998-08-04 15:00:28 +00:00
Bruce Momjian
f71b671bd5
Make EXPLAIN show output more clearly.
1998-08-04 04:50:15 +00:00
Bruce Momjian
9e964f90fb
Fix explain for union and inheritance. Rename Append structure
...
members to be clearer. Fix cost computation for these.
1998-07-15 14:54:39 +00:00
Marc G. Fournier
5e202d8586
show the index used in an explain
...
From: Zeugswetter Andreas SARZ <Andreas.Zeugswetter@telecom.at>
1998-04-27 16:57:09 +00:00
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
1998-02-26 04:46:47 +00:00
Vadim B. Mikheev
13637df458
Support for subselects.
1998-02-13 03:21:30 +00:00
Bruce Momjian
a544b605e2
Change some mallocs to palloc.
1997-12-29 05:13:57 +00:00
Bruce Momjian
4a5b781d71
Break parser functions into smaller files, group together.
1997-11-25 22:07:18 +00:00
Bruce Momjian
3f365ba0fc
Inline memset() as MemSet().
1997-09-18 20:22:58 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Bruce Momjian
b99c63cfc0
Now that names are null terminated, no need to do all that NAMEDATALEN stuff.
1997-08-18 20:53:48 +00:00
Vadim B. Mikheev
0762deacec
Print 'Group' as name of Group plan.
1997-04-05 06:42:32 +00:00
Bruce Momjian
3a02ccfa1d
Change EXPLAIN options to just use VERBOSE.
1997-01-16 14:56:59 +00:00
Bruce Momjian
765dd2a4c0
explain change
1996-12-29 19:31:16 +00:00
Bruce Momjian
4415e481ef
Improved EXPLAIN option handling.
1996-12-29 00:53:20 +00:00
Vadim B. Mikheev
e5fbe3017c
pname=NULL -> pname="" (stringinfo.c:appendStringInfo doesn't like NULL).
1996-12-03 05:50:11 +00:00
Marc G. Fournier
7385619f14
Clean it up so that it compiles
1996-11-06 08:21:43 +00:00
Marc G. Fournier
510ebf75a1
Another first pass at cleaning up the #includes
1996-11-03 23:57:43 +00:00
Marc G. Fournier
f36b2560a4
Major code cleanups from D'arcy (-Wall -Werror)
1996-10-23 07:42:13 +00:00
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
1996-07-09 06:22:35 +00:00